Question: Try writing a C++ program that will read in 3 grades from the keyboard, calculate the average, and print the results to 2 decimal places
Try writing a C++ program that will read in 3 grades from the keyboard, calculate the average, and print the results to 2 decimal places to the screen. The program should include good prompts and labelled output. See example below for details
Please input the first grade: 97 Please input the second grade: 98.3 Please input the third grade: 95 The average of the three grades is 96.77
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
