Question: Please solve in C++ Write a program with 5 variables (consider double values). The program should first calculate the sum of these five variables and
Write a program with 5 variables (consider double values). The program should first calculate the sum of these five variables and store the result in a separate variable named total. Then, the program should divide the total variable by 5 to get the average. Display the average on the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
