Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started