Question: Given the code: float grades[10] = {4.4, 3.3, 2.2, 1.1, 0.0}; 1. Write a loop to print the entire array to the console. 2. Write
![Given the code: float grades[10] = {4.4, 3.3, 2.2, 1.1, 0.0};](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f39ef5a52ed_97366f39ef52849a.jpg)
Given the code: float grades[10] = {4.4, 3.3, 2.2, 1.1, 0.0}; 1. Write a loop to print the entire array to the console. 2. Write the output of this code (what you see in the console when the loop runs)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
