Question: c++ Exercise #2: Write a program to do: a) Prompts the user to input three test grades. Each grade is an integer number. b) Prints
Exercise \#2: Write a program to do: a) Prompts the user to input three test grades. Each grade is an integer number. b) Prints the three grades one per line in reverse order of input and labeled as Test1, Test2, and Test3. c) Finds the sum of the three tests and their average. d) Prints the sum and average of the three tests. Sample input/output: (The average is supposed to be actually 74.33, so why did we get 74 ? How to fix it to get an accurate average result?) Homework \#2: Redo the above Exercise 2 to read the test info (a) from a file "test.txt". Then output the results (b) to a file "grade.txt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
