8 20 20
OUTPUT:
20 Press any key to continue
Question 2:
(1 mark, file to be edited: Q2.c)
The program allows the user to input an array of real numbers consisting of 'n' elements from the keyboard.
Print the average value of the real numbers with three decimal places on the screen.
Here is an example of how the program will run:
Enter: n = 4, elements: 3.5; 6; 5.5; 2.5
4 3.5 6 6.5 2.5
OUTPUT:
4.625
Press any key to continue
Question 3:
Zoom
+ 100%
Close