Question: Write a program named Lab 1 1 C to do the following. Loop 5 times and inside the loop: Ask the user for a test

Write a program named Lab11C to do the following.
Loop 5 times and inside the loop:
Ask the user for a test grade
Add the test grade to total
After the loop
Calculate the average of the test grades
Use an if to print Pass or Fail based on the average (>=60 is passing, otherwise its failing)
Print the 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 Programming Questions!