Question: PLEASE WRITE CODE USING MARS 4 . 5 NOT JAVA OR C CODE Ask the user for a first number Get that number from the
PLEASE WRITE CODE USING MARS NOT JAVA OR C CODE
Ask the user for a first number
Get that number from the keyboard
Move that number to $t
Ask the user for a second number
Get that number from the keyboard
Move that number to $t
Ask the user for a third number
Get that number from the keyboard
Move that number to $t
Add $t and $t and store the intermediate sum in $t
Now add $t and $t and store the final sum in $s
Print out the results to the user.
An example output of your program should look something like this:
Please enter the first number:
Please enter the second number: Please enter the second number:
The sum of your numbers is:
Please write code using MARS NOT Java or C code
PLEASE USE MARS NOT JAVA OR C code
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
