Question: c++ metric converter problem. -Create a MetricConverter class with the following public static functions to convert from metric units to standard units: double KG_lbs(double kg)
c++ metric converter problem.
-Create a MetricConverter class with the following public static functions to convert from metric units to standard units:
double KG_lbs(double kg)
double KM_miles(double km)
double Liters_quarts(double liters)
double Celsius_fahrenheit(double celsius)
Each function will accept a metric units value and return the corresponding standard units value.
-Create a MetricConverterTest program to test the functionality of the MetricConverter class and run the program from this simple menu:
KG to lbs
KM to Miles
Liters to Quarts
Celsius to Fahrenheit
Exit
-Create the following "menu" methods that are called from the corresponding menu option inside a switch statement:
void convert_KG_lbs()
void convert_KM_miles()
void convert_Liters_quarts()
void convert_Celsius_fahrenheit()
Each of these menu methods should:
get input from the user
pass the input to the appropriate static MetricConverter function to perform the calculation
display the result
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
