Question: Write a C program that reads five integers. The program should find the max, the min and the average of these five inputs (displayed

Write a C program that reads five integers. The program should find the max, the min and the average of these five inputs (displayed with one decimal point format, i.e., 23.6. Hint: using %.1f). Write the repetition code for three types of looping: while, do... while and for. Output example: Enter number 1: 26 Enter number 2: 14 Enter number 3: 79 Enter number 4: 53 Enter number 5: 37 Max value: 79 Min value: 14 Average: 41.8
Step by Step Solution
There are 3 Steps involved in it
Answer code is as follow include stdio h int main int num max min sum i Using while loop printf... View full answer
Get step-by-step solutions from verified subject matter experts
