|
|
@ -139,6 +139,21 @@ double getValue(int choice) { |
|
|
|
|
|
|
|
printf("\nThe convertet result is %dlf %d", result, Fluid[endingUnit]); |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
case 9://'ml', 'l' |
|
|
|
printf("\nEnter what the Unit is starting with (0 l, 1 gallon): "); |
|
|
|
scanf("%d", &startingUnit); |
|
|
|
|
|
|
|
printf("\nEnter what the value should it be changed to (0 l, 1 gallon): "); |
|
|
|
scanf("%d", &endingUnit); |
|
|
|
|
|
|
|
result = ConLiterToGallon(value, startingUnit, endingUnit); |
|
|
|
|
|
|
|
printf("\nThe convertet result is %dlf %d", result, Fluid[endingUnit]); |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -184,9 +199,7 @@ double ConSpeed(double speed, int startingUnit, int endingUnit) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
double ConLiterToGallon() { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
double ConData() { |
|
|
|
|
|
|
|