Question: 3.1 Write a program that performs the addition and average between the following double data type variables: num 1=3.658442 and num 2=4.1544623. - The results
3.1 Write a program that performs the addition and average between the following double data type variables: num 1=3.658442 and num 2=4.1544623. - The results should be displayed in scientific form, with the point precision set to 2 . Remember to use the special functions of cout (setprecision and scientific) - Sample Output: 3.2 What library should be added to achieve the display required
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
