Question: Write a program that will prompt a user to enter three separate exam grades for three different students. ( all variables in this program will
Write a program that will prompt a user to enter three separate exam grades for three different students. all variables in this program will be of datatype double, you can use variable names of your choice
Calculate the average of the exam grades.
Print that average to the screen with decimal places.
Then print a statement for each of the students stating whether their exam grade is higher than the average or less than the average. Do not worry about equal to the average....the sample data I've provided does not have the issue
Test your program with the following example data:
Sample output:
The exam average is
Student s exam is higher than the average.
Student s exam is lower than the average.
Student s exam is higher than the average.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
