|
@ -107,4 +107,12 @@ 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#################################"); |
|
|
} |
|
|
} |