|
|
@ -153,7 +153,17 @@ double getValue(int choice) { |
|
|
|
printf("\nThe convertet result is %dlf %d", result, Fluid[endingUnit]); |
|
|
|
break; |
|
|
|
|
|
|
|
case 10://char Data[] = { 'B', 'KB', 'MB', 'GB', 'TB', 'PT' }; |
|
|
|
printf("\nEnter what the Unit is starting with (0 B, 1 KB, 2 MB , 3 GB, 4 TB, 5 PT): "); |
|
|
|
scanf("%d", &startingUnit); |
|
|
|
|
|
|
|
printf("\nEnter what the value should it be changed to (0 B, 1 KB, 2 MB , 3 GB, 4 TB, 5 PT): "); |
|
|
|
scanf("%d", &endingUnit); |
|
|
|
|
|
|
|
result = ConData(value, startingUnit, endingUnit); |
|
|
|
|
|
|
|
printf("\nThe convertet result is %dlf %d", result, Data[endingUnit]); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -201,9 +211,6 @@ double ConSpeed(double speed, int startingUnit, int endingUnit) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
double ConData() { |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
double ConArea() { |
|
|
|
|
|
|
|