Question: Write a C++ program to read 4 numbers entered by user in the terminal (use cin). Then, take the average of these numbers and report

 Write a C++ program to read 4 numbers entered by user

Write a C++ program to read 4 numbers entered by user in the terminal (use cin). Then, take the average of these numbers and report : Average of number1, number2, number3 and number 4 is .... (use cout). Use following two sets of 4 numbers to test your program: set 1) 12, 40, -50, 55 set 2) 9, 22, -10, -2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!