#include /* the array’s size */ #define SIZE 4 void main(void) { float score[SIZE]; int i; /* loop to read in the scores */ printf("Enter %d floats: ", SIZE); for(i = 0; i <= (SIZE - 1); i = i + 1) /* store the read scores into the array */ // scanf_s("%f", &score[i]); // secure version scanf("%f", &score[i]); /* loop to write out the scores from the array to the screen */ printf("The scores in reverse order are: \n"); for(i = SIZE - 1; i >= 0; i = i - 1) printf("%.2f\t", score[i]); printf("\n"); }