Sunday

December 21, 2014

December 21, 2014

Posted by **MIPS HELP........SIMPLE PROGRAM** on Wednesday, March 14, 2012 at 8:26pm.

Input/Output

You are required to read two unsigned integers from the console. The valid range for both values is 0 to 65535. Your program will multiply and divide them and provide the product, quotient, and remainder. Your program must include a trap (i.e. a notification and graceful exit) for divide-by-zero.

Here’s an example run:

Enter an integer: 10

Enter an integer: 4

Product is 40

Quotient is 2

Remainder is 2

- programming -
**MathMate**, Wednesday, March 14, 2012 at 11:37pmFor you benefit, I suggest you start with a pseudocode or a draft coding even if it does not compile.

From the starting point, we can better help you without doing it for you.

- programming -
**MIPS HELP........SIMPLE PROGRAM**, Tuesday, March 20, 2012 at 9:35pmI got the code and it works..............its just that I dont know how to do it wihtout using the "mult" and "div" operands.

**Answer this Question**

**Related Questions**

Computers - I have project i need your help. this is the Project Description In ...

programming - Consider the following selection statement where X is an integer ...

Algebra - I have an input / output machine I need a rule I can use for any value...

programming - Consider the following input and output: INPUT: (((5 + 1) – (7 – 4...

math - i need help with patterns and equations i cant find the rule it goes like...

7 th grade math - What is the rule for this function? input 1 output 3 input 2 ...

math - input 1 nickel/output 3 pennies, input 1 dime/output 3 nickels, input 1 ...

Math - Hey, I need your help! I have an input output table that I need the ...

math - i need help! my last math question cant figure out! whats the rule for ...

calculus - i have a problem figureing out this question do you have any help? ...