Question: Answer in C++ Q3: [25 points) Write a program to ask user to enter four float values. Then the program prints the four values formatted
Answer in C++ 
Q3: [25 points) Write a program to ask user to enter four float values. Then the program prints the four values formatted as (1) one value per line; (2) each value occupies 8 positions; (3) each value must has two digits after the decimal point; (3) these numbers are right- justified. For example, if user's inputs are 1.249, -12.5, 100.9, 12987.232, output should look as follows: 1.25 -12.50 100.90 12987.23
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
