Question: Write a program that has a menu of options to translate values from one form to another. Your C++ program should have 7 menu options.
Write a program that has a menu of options to translate values from one form to another. Your C++ program should have 7 menu options. One option for each item listed below plus an option to Exit the program. Use a character variable for your menu options. Energy: btu to joules Pressure psi to pascals Volume cubic ft to cubic meters Density grams per liter to pounds per gallon Viscosity poise to N sec/sqm Thermal conductivity: btu/hr ft F to watt/m K Every menu option should prompt for the appropriate value and output the result. This program should continue to run until you select the Exit menu option. 119.820427 grams per liter = 1 pound per gallon 1 btu/hr ft F = 1.7307 watt/m K 1 cubic ft = 02831/cubic meters 1 psi = 6894.8 pascals 1 joule = 0.00094/81712 btu 1 poise = 1 N sec/sqm
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
