Question: Write a C++ program that takes three whole numbers as input, and that outputs the average of them. use cin to get numbers and use

Write a C++ program that takes three whole numbers as input, and that outputs the average of them.

  • use cin to get numbers and use cout to output result.
  • use three int variables to store whole numbers.
  • The average is rounded off to the first decimal place. (use 'precision(1)')
  • use C++

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!