|
|
@ -1,5 +1,5 @@ |
|
|
|
#include "inputHandler.h" |
|
|
|
#include <string.h> |
|
|
|
#include <stdio.h> |
|
|
|
|
|
|
|
// return operation id for a specific symbol |
|
|
|
int getOperationIdBySymbol(char symbol) { |
|
|
@ -50,3 +50,9 @@ int isOperationIdValid(int id) { |
|
|
|
if(id < 0 || id > 7) return 0; |
|
|
|
return 1; |
|
|
|
} |
|
|
|
|
|
|
|
int isNumberTooBig(int number) { |
|
|
|
if(number < 200) return 0; |
|
|
|
printf("Diese Nummer ist zu groß"); |
|
|
|
return 1; |
|
|
|
} |