The function needs to accept an integer number and the addresses of the variables gallons, quarts, pints, and cups. The passed integer represents the total number of cups, and the function is to determine the number of gallons, quarts, pints, and cups passed value. Using the passed addresses, the function should directly alter the respective variables in the calling function. It shoud print the results like this: If the user enters XX cups, the output should be:
XX gallons
XX quarts
XX pint(s)
XX cup(s)
Can anyone help me out.
2006-10-08
04:14:03
·
1 answers
·
asked by
Robert W
1
in
Programming & Design