From 1bd8af661afd1914ddf54c5a74964d60ec5d3d85 Mon Sep 17 00:00:00 2001 From: Eric Bagus Date: Thu, 8 Feb 2024 21:36:36 +0100 Subject: [PATCH] Implemented multiple operation ids --- src/inputHandler.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/inputHandler.c b/src/inputHandler.c index 0001469..fc88238 100644 --- a/src/inputHandler.c +++ b/src/inputHandler.c @@ -11,6 +11,12 @@ int getOperationId(char symbol) { return 3; case '*': return 4; + case '^': + return 5; + case '%': + return 6; + case '!': + return 7; } return id; } \ No newline at end of file