Question: 1 . 2 gallonsOfFunFunction Name: gallonsOfFun Input: ( double ) The number of gallons to convert ( 1 times N char ) The units
gallonsOfFunFunction Name: gallonsOfFun
Input:
double The number of gallons to convert
times N char The units to convert it to This will only be one of these three: cups
pints or quarts Output:
double The conversion of gallons from the first input into the proper number of units chosen in the second input.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
