Question: C++ Introduction level. Please use only #include and #include because thats the only header files that Ive learned. Problem A: Distance conversion (20 points) Write

C++ Introduction level. Please use only #include and #include because thats the only header files that Ive learned.  C++ Introduction level. Please use only #include and #include because thats

Problem A: Distance conversion (20 points) Write a C++progr which distance you want to convert it to. You should display the desired unit conversion. am that first asks you to enter a distance with units. Then the program should ask The units your program should be able to convert from/to are inches :"in" or "inches" feet: "ft" or "feet meters: "m" or "meters" centimeters: "cm" or "centimeters" Your program should be able to accept the input either as the shortened version right after the number (see example 1) or as the full name after a space (see example 2). This applies to both the units before and after the conversion. The final answer should be the converted amount without units. Use the following conversions: 12 inches- 1 foot 1 foot 0.3048 meters 1 meter 100 centimeters Example 1 (user input is underlined): Enter distance with units: 200m What do you want to convert this to? inches 7874.02 Example 2 (user input is underlined) Enter distance with units: What do you want to convert this to? 39.624

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!