Question: 1. Write a C program that converts the weight of an object in pounds to kilograms. One pound is equal to 0.453592 kilograms. What would
1. Write a C program that converts the weight of an object in pounds to kilograms. One pound is equal to 0.453592 kilograms. What would be the weight in kilograms if the weight is equal to 30.5 pounds? Also, print the weight in pounds and the converted weight in kilograms on the screen. Your program should display the following message: The weight of??? pounds is equal to??? kil ograms. Hint: Let pound and kilogram be floating point with double precision variables (double). 2. Consider the following equation: Write a C program that calculates and prints the value of z on the screen when x 5.2 and y 3.5. Hint: Letx, y and z be floating point with double precision variables (double)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
