Question: Program Create a GallonConverter program in which the student put in the number of gallons and then displays the equivalent number of quarts, pints, cups
Program Create a GallonConverter program in which the student put in the number of gallons and then displays the equivalent number of quarts, pints, cups and tablespoons. There are 4 quarts in a gallon, 2 pints in a quart, 2 cups in a pint and 16 tablespoons in a cup. The output should look similar to: You have entered 3 gallons In th 3 gallons there are: 12.0 quarts 24.0 pints 48.0 cups 768.0 teaspoons
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
