[ad_1]
The line printf("%d:00"); should be:
printf("%d:00", hour);
See if you can turn up your compiler warning level, modern compilers tend to be able to warn about this sort of mistake.
2
[ad_2]
solved Range of IF statements in C programming
[ad_1]
The line printf("%d:00"); should be:
printf("%d:00", hour);
See if you can turn up your compiler warning level, modern compilers tend to be able to warn about this sort of mistake.
2
[ad_2]
solved Range of IF statements in C programming