|
|
@ -164,6 +164,18 @@ double getValue(int choice) { |
|
|
|
|
|
|
|
printf("\nThe convertet result is %dlf %d", result, Data[endingUnit]); |
|
|
|
break; |
|
|
|
|
|
|
|
case 11://char Distance[] = { 'mm', 'cm', 'm', 'km', 'feet/inch', 'miles'}; |
|
|
|
printf("\nEnter what the Unit is starting with (0 mm, 1 cm, 2 m , 3 km,): "); |
|
|
|
scanf("%d", &startingUnit); |
|
|
|
|
|
|
|
printf("\nEnter what the value should it be changed to (0 mm, 1 cm, 2 m , 3 km,): "); |
|
|
|
scanf("%d", &endingUnit); |
|
|
|
|
|
|
|
result = ConArea(value, startingUnit, endingUnit); |
|
|
|
|
|
|
|
printf("\nThe convertet result is %dlf %d²", result, Distance[endingUnit]); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -208,14 +220,6 @@ double ConSpeed(double speed, int startingUnit, int endingUnit) { |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
double ConArea() { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
double ConVolume() { |
|
|
|
|
|
|
|
} |
|
|
|