Required in c++ (do not use arrays or complicated code please)
Extracted text: a. Write a C++ function (Conversion) that converts between inches and cm OR between kg and pounds based on the user's input. The function has two inputs: Either the scale number in double and a letter that indicates whether the entered value is in Inches ('I') or in Centimeters ('C') OR the weight in double and a letter that indicates whether the entered value is in Kilogram ('K') or pounds ('P'). The function prints to the screen the conversion in the other standard. Hint: use the following equations for conversion: 1 inch — 2.54 ст 1 Кg %3D 2.2 роиnds
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here