Question: Here's the assignment: Write a program that reads in five values, all integers, and prints the sum and the average (a real number) of these
Here's the assignment: Write a program that reads in five values, all integers, and prints the sum and the average (a real number) of these five numbers. Prompt the user for each number and make sure your print statements identify what the output actually is. Your prompt can be very simple, something like Enter a number and your print statements can be brief, as in the sum is xxx and the average is yyy
This is what I have so far :
#include
I think there is a problem with the line in which i'm adding together the number variables. Any help is appreciated.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
