Write a menu driven c program to do the following
1)Convert weight in kilogram to grams
2)Convert weight in grams to kilogram
3)Convert weight in Kilogram to pounds
4)Convert weight in pounds to kilogram
Answers
1 Kilogram=1000 grams
C++ program that reads the grams and convert it into Kilograms : create a program that will read in a weight in kilograms and grams and will output the equivalent weight in pounds and ounces. use 3 functions: for input, calculation, and output. As you know there are 2.2046 pounds in a kilogram, 1,000 grams in a kilogram, and 16 ounces in a pound. creating a layout or to help to get started for this program.
1 Kilogram=1000 grams
C++ program that reads the grams and convert it into Kilograms : create a program that will read in a weight in kilograms and grams and will output the equivalent weight in pounds and ounces. use 3 functions: for input, calculation, and output. As you know there are 2.2046 pounds in a kilogram, 1,000 grams in a kilogram, and 16 ounces in a pound. creating a layout or to help to get started for this program
is the correct answer