Question: USE C + + CODE The mean of two numbers, value 1 and value 2 , is given by meanO fTwo = ( v a

USE C++ CODE
The mean of two numbers, value1 and value2, is given by meanO fTwo=(value1+value2)2.0. Read double variables value1 and value 2 from input, respectively. Then, compute meanOfTwo using the formula. Finally, output "Mean is "followed by the value of meanOfTwo to three digits after the decimal point. End with a newline.
Ex: If the input is 6.012.0, then the output is:
Mean is 9.000
1 #include iomanip>
2 #include
 USE C++ CODE The mean of two numbers, value1 and value2,

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!