Question
Program 'convert' prompts the user to input some measurement in metric or English units, then converts the user's inputs into appropriate units into and equivalent value in the other system. Allowable metric units: meter(s), kilometer(s), centimeter(s), cm, millimeter(s), mm Allowable English units: mile(s), yard(s), foot, feet inch, inches, fraction (/2, /4, /8, /16, /32, /64). example run of 'convert': What would you like to convert? 3 and 1/2 yards (typed input) =1.3176 meters (program output)
Explanation / Answer
#include#include class db; class dm { float mt; float cm; public: dm() { // mt=0.0;// cm=0.0; } void getdata() { cout