The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
University
| Teaching Since: | Apr 2017 |
| Last Sign in: | 438 Weeks Ago, 1 Day Ago |
| Questions Answered: | 9562 |
| Tutorials Posted: | 9559 |
bachelor in business administration
Polytechnic State University Sanluis
Jan-2006 - Nov-2010
CPA
Polytechnic State University
Jan-2012 - Nov-2016
Professor
Harvard Square Academy (HS2)
Mar-2012 - Present
(Program) Write a function named liquid() that has an integer number parameter and reference parameters named gallons, quarts, pints, and cups. The passed integer represents the total number of cups, and the function is to determine the numbers of gallons, quarts, pints, and cups in the passed value. Using the reference parameters, the function should alter the arguments in the calling function. Use these relationships: 2 cups = 1 pint, 4 cups = 1 quart, and 16 cups = 1 gallon
-----------