diff --git a/src/main.c b/src/main.c index 86d4137..4f4b2b5 100644 --- a/src/main.c +++ b/src/main.c @@ -1,4 +1,17 @@ #include +#include +#include "operationHandler.h" + +char buffer[100]; int main() { + printf("Please enter the id of a specific operation...\n1. addition\n2. subtraction\n3. multiplication\n4. division\n"); + int input; + scanf("%d", &input); + if(!checkOperationInput(input)) { + printf("Invalid operation id\n"); + return 0; + } + printf("\nPlease enter the first and the second number separated by a space...\n"); + } \ No newline at end of file