Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a C program for a professor to calculate the average grade of a student. The program should accept as many grades as the professor

Write a "C" program for a professor to calculate the average grade of a student. The program should accept as many grades as the professor wants to enter. Therefore, ask the professor for the first grade, the second grade, and so on until the professor enters a negative value. A negative value indicates that the professor is finished entering grades. Once the professor is finished, your program should output: a) the average grade of the student b) the letter grade of the student

*for reference

( A grade is 90 to 100)

(B grade is 80 to 89)

(C grade is 70 to 79)

(F grade is 0 to 69)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started