2.2 Applied one-dimensional array (15 points)
Create a program called lab5-2.c that read 10 floats into an array and print their average.
The following is a pseudocode.
1. Declare float and other variables to hold data
2. Promt for 10 floats.
3. Starts the for loop:
3.1 Read & store the data
3.2 The for loop stops.
4. Starts another for loop:
3.3 Sum up all the floats
3.4 The for loop stops.
4 Calculate and print the sum’s average
5 The program stops.