Question: MIPS program Ask user for input of 5 numbers with a range of - 2147483648 to 2147483647 , convert it to a 32 floating point
MIPS program
Ask user for input of 5 numbers with a range of -2147483648 to 2147483647, convert it to a 32 floating point number and store it into an array storage location.
1. Print values
2. Display the Sum of the Numbers in floating point format
3. Display the smallest of the values
4. Display the largest of the values
6. Display the mean or average of the values.
7. Display the variance which is derived from the following formula:

Example
The Sum of the numbers is: 235.00000000
The Smallest number is: 1.00000000
The Largest number is: 160.00000000
The Mean of the numbers is: 47.00000000
The variance of the numbers is: 4295.50000000
s2 = (; 3) m)? n - 1 S2 = sample variance Xi = the value of the one observation = the mean value of all observations n = the number of observations s2 = (; 3) m)? n - 1 S2 = sample variance Xi = the value of the one observation = the mean value of all observations n = the number of observations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
