Question: Write c++ program that reads from user the operation type, and the value to convert. The brogram performs the conversion and prints the converted value

Write c++ program that reads from user the operation type, and the value to convert. The brogram performs the conversion and prints the converted value based on the operation type as the following Operation Conversion convert weight from Kilograms to Grams 1 convert height from Meters to Centimeters 2 Convert currency from JD to USD Knowing that 1 KG = 10000 1 M = 100 CM IJD-1.41 USD The output must contain your name Terti: The underlined text is inputfrom user Pls Choose 0: to convert weight from KG to G 1:10 convert helght from M to CM 2: to convert currency from JD to USD 1 Pis Enter value to convert: 2 Mahn Mohammed Corvetted value200 CM Plachoon to confronto CM Test2: The undedined text is input from uset Pls Choose 0: to convert weight from KG to G Is to convert height from MtO CM 2: to convert currency from JD to USD 2 Pls Enter value to convert 3 Maha Mohammed Converted value=4.23 USD A- JE #include dostream> using namespace std; int main Write your name here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
