(Convert pounds into kilograms) Write a program that converts pounds into kilograms. The program prompts the user to enter a number in pounds, converts it to kilograms, and displays the result. One pound is 0.454 kilograms.
input:
enter number: w \\ number in pounds
w = w*0.454 \\ converts pounds to kilograms
output:
display w
Comments
Leave a comment