write program prompts user enter mass person kilograms and outputs equivalent
Write a program that prompts the user to enter the mass of a person in kilograms and outputs the equivalent weight in pounds. Output both the mass and the weight rounded to two decimal places. (Note that for standard Earth gravity, 1 kilogram = 2.2 pounds.) Format your output with two decimal places.
Leave a Reply
Want to join the discussion?Feel free to contribute!