|
|
@ -98,18 +98,22 @@ int extractFirstNumber(char* str) { |
|
|
|
} |
|
|
|
|
|
|
|
void outputInteger(int output) { |
|
|
|
outputTemplate(); |
|
|
|
printf("Result: %d", output); |
|
|
|
} |
|
|
|
|
|
|
|
void outputLong(long output) { |
|
|
|
outputTemplate(); |
|
|
|
printf("Result: %ld", output); |
|
|
|
} |
|
|
|
|
|
|
|
void outputDouble(double output) { |
|
|
|
outputTemplate(); |
|
|
|
printf("Result: %lf", output); |
|
|
|
} |
|
|
|
|
|
|
|
void outputFloat(float output) { |
|
|
|
outputTemplate(); |
|
|
|
printf("Result: %f", output); |
|
|
|
} |
|
|
|
|
|
|
|