Nautical bell: Difference between revisions

m
→‎{{header|C}}: remove attribution
(→‎{{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>
/*Abhishek Ghosh, 20th September 2017*/
 
#include<unistd.h>
#include<stdio.h>
#include<time.h>
Anonymous user