|
@ -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); |
|
|
|
|
|
} |