|
@ -108,3 +108,11 @@ void outputLong(long output) { |
|
|
void outputDouble(double output) { |
|
|
void outputDouble(double output) { |
|
|
printf("Result: %lf", output); |
|
|
printf("Result: %lf", output); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void outputFloat(float output) { |
|
|
|
|
|
printf("Result: %f", output); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void outputTemplate() { |
|
|
|
|
|
printf("###############################\n-> Calculator\n#################################"); |
|
|
|
|
|
} |