Question: 8. Write the code to declare and initialize an array of three floating point values, nam choice of three temperature values rite the code to

8. Write the code to declare and initialize an array of three floating point values, nam choice of three temperature values rite the code to sum up all the values in the temps array, using either a while-loop or for-loop. For extra credit, compute the average of all of the 9. W values in the temps array Read the following code. Then fill in the correct continuation test for the for-loop statement to save each input data value read into the array 10. and complete the int main () int sz, i printf ("Please enter the number of values to store: " scanf("%d", &sz) ; int arr[sz]; for( i 0; printf "Enter the next data value: ") scanf("%d
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
