Question: Write a program that corverts volume in metric liters to the American system of cups and ounces, 1. liter is 33.814 ounces. 1 cup is
Write a program that corverts volume in metric liters to the American system of cups and ounces, 1. liter is 33.814 ounces. 1 cup is 8 ounces. Your program should input the volume in liters and then display the volume in cups and ounces. The number of ounces displayed should be less than 8 Ex. If the input is: 2.5 the output is Cupat 10 Ouncea: 4 Note: The % opetator works only with ints. After you conwert the liters to ounces, you should convert the result to an integer value (hint use. implicit type conversion). - Use named constants (also known as constant variables) for any conversion constants you use in your propram (for example, the number of ounces in a litery. - Use both / and 9 operators in your program (and donot use loops). - Follow the Style Guldelines
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
