The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 2 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Would you be able to help me with this assignment using MIPS language?
Â
Write a program to do the following1.Print your name2.Prompt for the number of times to repeat the test3.Read an integer.This is the number of times to repeat step 4.4.Repeat the following multiple times according to the number read in step 3.a.Read in a list of integers ending with a 0.The 0 marks the end and is not considered partof the listb.Print the largest and smallest numbers in the list.If only a zero appears in the list, printan error message5.Print an ending message and then end your program.Example input and output for the program.Tom SmithEnter the number of times to repeat 3Enter a number 1Enter a number 0The smallest number is 1The largest number is 1Enter a number 0There are no numbers to testEnter a number -1Enter a number 8Enter a number 5Enter a number 0The smallest number is -1The largest number is 8Program completeSpecifics:ï‚·Do not store any integers into memory.Just read and process them.ï‚·Document every instruction.
Attachments: