Question: C++ Write a function named liquid() that has an integer number parameter called totCups and reference parameters named gallons, quarts, pints and cups. The passed
C++
Write a function named liquid() that has an integer number parameter called totCups and reference parameters named gallons, quarts, pints and cups. The passed integer represent the total number of cups, and the function is to determine the number of gallons, quarts, pints and cups equivalent. Use the relationship of 2 cups a pint, 4 cups a quart, and 16 cups a gallon.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
