From f5f64951f964d0b80e26fdd73d315a7d8f127c2c Mon Sep 17 00:00:00 2001 From: Eric Bagus Date: Thu, 8 Feb 2024 20:43:44 +0100 Subject: [PATCH] Added operation handler output function --- src/operationHandler.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/operationHandler.c b/src/operationHandler.c index 6fb44b8..93dbea7 100644 --- a/src/operationHandler.c +++ b/src/operationHandler.c @@ -3,6 +3,7 @@ #include #include #include +#include // checking integer input as operation id bool checkOperationInput(int input) { @@ -94,4 +95,8 @@ int extractFirstNumber(char* str) { strcpy(str, temp); return number; +} + +void outputInteger(int output) { + printf("Result: %d", output); } \ No newline at end of file