Programming problem for weight conversion

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. (Conversion: 1 kilogram = 2.2 pounds.) Format your output with two decimal places. Use dialog boxes for the input/output statements.

Submit a Comment