From d0f1d25eead25ab50fe148a4f50eaaa6bc7e73e3 Mon Sep 17 00:00:00 2001 From: Eric Bagus Date: Thu, 8 Feb 2024 20:47:39 +0100 Subject: [PATCH] Added output function for long values --- src/operationHandler.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/operationHandler.c b/src/operationHandler.c index 93dbea7..565969d 100644 --- a/src/operationHandler.c +++ b/src/operationHandler.c @@ -99,4 +99,8 @@ int extractFirstNumber(char* str) { void outputInteger(int output) { printf("Result: %d", output); +} + +void outputLong(long output) { + printf("Result: %ld", output); } \ No newline at end of file