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

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

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

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!