Browse Source

Updated header file to calculator.h

remotes/origin/kabrel
fdai7782 11 months ago
parent
commit
2968e1664a
  1. 4
      src/main/c/testForOperator.c

4
src/main/c/testForOperator.c

@ -4,7 +4,7 @@
#include <math.h> #include <math.h>
#include <stdbool.h> #include <stdbool.h>
#include "taschenrechner.h"
#include "calculator.h"
char testForOperator() { char testForOperator() {
//saving the number of operators in a variable so it only needs to be changed in one location //saving the number of operators in a variable so it only needs to be changed in one location
@ -26,4 +26,4 @@ char testForOperator() {
//if the input was deemed invalid it asks for new input and goes to the top of the while loop //if the input was deemed invalid it asks for new input and goes to the top of the while loop
printf("The input was not allowed. Please try again!\n"); printf("The input was not allowed. Please try again!\n");
} }
}
}
Loading…
Cancel
Save