diff --git a/src/operationHandler.c b/src/operationHandler.c index be3a094..122cb8b 100644 --- a/src/operationHandler.c +++ b/src/operationHandler.c @@ -107,4 +107,12 @@ void outputLong(long output) { void outputDouble(double output) { printf("Result: %lf", output); +} + +void outputFloat(float output) { + printf("Result: %f", output); +} + +void outputTemplate() { + printf("###############################\n-> Calculator\n#################################"); } \ No newline at end of file diff --git a/src/operationHandler.h b/src/operationHandler.h index 58ca89a..ad14eb2 100644 --- a/src/operationHandler.h +++ b/src/operationHandler.h @@ -10,4 +10,14 @@ bool containsTwoNumbers(const char*); int extractFirstNumber(char*); +void outputInteger(int); + +void outputDouble(double); + +void outputFloat(float); + +void outputLong(long); + +void outputTemplate(); + #endif //THEADMIRALS_OPERATIONHANDLER_H