Question: Write a program that asks the user to type 5 integers (the value of 5 integers are in range [-1000000; 1000000]) and writes the

Write a program that asks the user to type 5 integers (the value of 5 integers are in range [-1000000; 1000000]) and writes the average of the 5 integers. This program uses only 2 variables. You need to complete the following code (You only write the missing code, not the whole program) #include #include using namespace std; int main() { int a=0, b; // code that makes the program works cout
Step by Step Solution
3.40 Rating (153 Votes )
There are 3 Steps involved in it
To complete the code for finding the average of 5 integers using only 2 varia... View full answer
Get step-by-step solutions from verified subject matter experts
