1.

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

Answer»

ram=1000 gramsC++ 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.



Discussion

No Comment Found