Question: Write a complete MIPS program to read from a text file (each number is on a separate line) with at least three positive integers to
Write a complete MIPS program to read from a text file (each number is on a separate line) with at least three positive integers to a maximum of twenty positive integers or until a zero is read in (and this zero is not part of the count of integers read-in) from the file (either you have the twenty integers or somewhere the zero occurs in the file). Now, find and output these items to this file "lastname.txt" from the read-in integers: 1) The maximum integer and its line in the file. 2) The minimum integer and its line in the file. 3) The mean or average of the integers read in. WITHOUT USING AN ARRAY....If you can at least get me started on this it would be much appreciated. Thanks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
