Question: using javascript, use counter-controlled repetition to solve the class-average problem and explain the code using comments I Set total to zero Set grade counter to

using javascript, use counter-controlled repetition to solve the class-average problem and explain the code using comments
using javascript, use counter-controlled repetition to solve the class-average problem and explain

I Set total to zero Set grade counter to one While grade counter is less than or equal to ten Input the next grade Add the grade into the total Add one to the grade counter Set the class average to the total divided by ten 10 Print the class average

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!