Question: Rearrange the code blocks below into the proper order by dragging drop them in the yellow box below. Tip: The program will display the array
Rearrange the code blocks below into the proper order by dragging drop them in the yellow box below. Tip: The program will display the array elements of grades. Note: NOT all of the code blocks will be used.
printf("%d", grades[2]); for (int i=0; i<3; i++){ for (int i=0; i<3; i--){ for (int i=1; i<3; ++i){ int grades=[80,90,100]; printf("%d", grades[i]); }} printf("%d",grades[0]); int grades[]={80,90,100}; printf("%d", grades[i]); int grades[]=[80,90,100]; printf("%d",grades[1]); #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
