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

Write c++ program that reads from user the operation type, and the value to convert. The program performs the conversion and prints the converted value based on the operation type as the following Operation Conversion 0 convert weight from Kilograms to Grams convert height from Meters to Centimeters 1 2 convert currency from JD to USD Knowing that: 1 KG = 1000 G 1 M = 100 CM 1 JD = 1.41 USD The output must contain your name. Test1: The underlined text is input from user Pls Choose: 0: to convert weight from KG to G 1: to convert height from M to CM 2: to convert currency from JD to USD 1 Pls Enter value to convert: 2 Maha Mohammed Converted value = 200 CM Maha Mohammed Converted value = 200 CM Test2: The underlined text is input from user Pls Choose: 0: to convert weight from KG to G 1: to convert height from M to CM 2: to convert currency from JD to USD 2 Pls Enter value to convert: 3 Maha Mohammed Converted value = 4.23 USD
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
