Browse Source

added Con Functions and query to ConvertMode.c

remotes/origin/feature
Enrico Schellenberger 11 months ago
parent
commit
43b098aec4
  1. 74
      src/main/c/ConvertMode.c

74
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);
}
Loading…
Cancel
Save