Question: Write a program that prompts the user to enter 8 numbers and the outputs the maximum, the minimum number and their average. without using array

Write a program that prompts the user to enter 8 numbers and the outputs the maximum, the minimum number and their average. without using array MATLAB

output:

Please enter 6 numbers: 40 70 8 20 15 60 45 3

The maximum is: 70

The minimum is: 3

The average is: 32.625

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!