Browse Source

Updated header file to calculator.h

remotes/origin/kabrel
fdai7782 11 months ago
parent
commit
873207a6dd
  1. 4
      src/main/c/programmingMode.c

4
src/main/c/programmingMode.c

@ -3,7 +3,7 @@
#include <stdio.h> #include <stdio.h>
#include <math.h> #include <math.h>
#include "taschenrechner.h"
#include "calculator.h"
// get the NUmbers from the user // get the NUmbers from the user
int getIntegerInput(const char* prompt) { int getIntegerInput(const char* prompt) {
@ -52,4 +52,4 @@ void programmingMode() {
// Calculation + Display the result // Calculation + Display the result
printf("Result: %d\n", performOperation(num1, operator, num2)); printf("Result: %d\n", performOperation(num1, operator, num2));
}
}
Loading…
Cancel
Save