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 <ctype.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h>
// checking integer input as operation id // checking integer input as operation id
bool checkOperationInput(int input) { bool checkOperationInput(int input) {
@ -95,3 +96,7 @@ int extractFirstNumber(char* str) {
return number; return number;
} }
void outputInteger(int output) {
printf("Result: %d", output);
}
Loading…
Cancel
Save