Question: Write a program for a professor to calculate the average grade of a student. The program should accept as many grades as the professor wants
Write a 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
without for statement
C code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
