Instruction
i need someone do my MIPS homework, write a loop program that will prompt the user to enter a number of times he would like to enter a number.
Once the program takes in the number of times the user will enter a number, make that number the loop counter variable, then have the program ask for a number, then ask for the next number etc. until all numbers are entered, then give the user the sum of those numbers entered.
For example. program ask: Enter a number in which the program will accept numbers from the user: 3
The program now ask: enter a number: 3
enter a number: 4
enter a number 5
Your total is: 12
Would you like to run this program again?
1, yes or 2 no.
etc.
example in attached