diff --git a/src/main/c/ConvertMode.c b/src/main/c/ConvertMode.c index ef9e7be..e9ec6ef 100644 --- a/src/main/c/ConvertMode.c +++ b/src/main/c/ConvertMode.c @@ -7,6 +7,77 @@ #include "taschenrechner.h" // Unit converter mode +double getValue() { + printf("Enter the first value to convert: "); + scanf("%lf", &value); + + printf("Enter the second value to convert: "); + scanf("%lf", &value); + + while (choice < 0 && choice >= 14) { + switch (choice) + { + case 1: + + break; + + } + } +} + +double ConMeter() { + +} + +double ConMeterToFoot() { + +} + +double ConKilometerToMiles() { + +} + +double ConGram() { + +} + +double ConTemp() { + +} + +double ConSpeed() { + +} + +double ConLiter() { + +} + +double ConLiterToGallon() { + +} + +double ConData() { + +} + +double ConArea() { + +} + +double ConVolume() { + +} + +double ConTime() { + +} + +double ConClock() { + +} + + void unitConverterMode() { int choice; double value, result; @@ -45,7 +116,6 @@ void unitConverterMode() { printf("\nEnter your choice (Exit with 0): "); scanf("%d", &choice); - printf("Enter the value to convert: "); - scanf("%lf", &value); + } \ No newline at end of file