Browse Source

Added operation handler output function

remotes/origin/develop
Eric Bagus 11 months ago
parent
commit
f5f64951f9
  1. 5
      src/operationHandler.c

5
src/operationHandler.c

@ -3,6 +3,7 @@
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
// 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);
}
Loading…
Cancel
Save