Laboratory Exercises Set 3b. Basic Input/Output
Laboratory Exercises Set 3b. Basic Input/Output
LabExercise2C:
Write a program in C that takes kilograms as input, and display the equivalent value in
pounds and grams.
Sample Input
Enter weight in kilograms: 70
Output:
Weight in pounds is 154.324lbs and grams is 70000g