Question: c++ Write a program that will produce a chart showing equivalent miles/hour, smoots/sec, rods/min, furlongs/fortnight. The chart must have appropriately labeled column headings, and the

 c++ Write a program that will produce a chart showing equivalent
c++
miles/hour, smoots/sec, rods/min, furlongs/fortnight. The chart must have appropriately labeled column headings,

Write a program that will produce a chart showing equivalent miles/hour, smoots/sec, rods/min, furlongs/fortnight. The chart must have appropriately labeled column headings, and the right most digit of each value must be in columns 18, 36, 54, and 72 respectively. All values should be printed to 3 decimal places. The program must prompt the user to enter an initial value, and accept an initial value. Next the program must prompt the user to enter the final value and accept a final value. Finally, the program must prompt the user to enter an increment, and accept an increment value. The program must then print a table with appropriate column headings. Once the table is complete, the program should prompt the user for another set of input values in the same way. This should continue until the user enters 0 for increment. Some sample runs are shown below (user input is underlined). Write a program that will produce a chart showing equivalent mile smoots/sec, rods/min, furlongs/fortnight. The chart must have appropriately labeled column headings, and the right most digit of each value must be in columns 18, 36, 54, and 72 respectively. All values should be printed to 3 decimal places. The program must prompt the user to enter an initial value, and accept an initial value. Next the program must prompt the user to enter the final value and accept a final value. Finally, the program must prompt the user to enter an increment, and accept an increment value. The program must then print a table with appropriate column headings. Once the table is complete, the program should prompt the user for another set of input values in the same way. This should continue until the user enters 0 for increment. Some sample runs are shown below (user input is underlined). Enter initial value: 150.0 Enter final value: 190.0 Enter increment value:5.0 miles/hr Smoots/sec rods/min frings/frtnght 150.000 39.403 800.000 403200.000 155.000 40.716 826.666 160.000 42.029 853.333 165.000 43.343 880.000 170.000 44.656 906.666 175.000 45.970 933.333 180.000 47.283 960.000 185.000 48.597 986.666 190.000 49.910 1013.333 510720.000 Enter initial value: 0.0 Enter final value: 4.0 Enter increment value:0.25 miles/hr Smoots/sec rods/min frings/frtnght 0.000 0.000 0.000 0.000 416640.000 430080.000 443520.000 456960.000 470400.000 483840.000 497280.000

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!