Anonymous user
Nautical bell: Difference between revisions
m
→{{header|C}}: remove attribution
Thundergnat (talk | contribs) (→{{header|C}}: Mark incorrect) |
m (→{{header|C}}: remove attribution) |
||
Line 147:
Sounds the bell once every half hour (12:30, 1:30 etc.) and for as many times on the hour (12 times on 12 PM/AM, 3 times on 3 AM/PM etc.)
<lang C>#include<unistd.h>
#include<stdio.h>
#include<time.h>
|