aboutsummaryrefslogtreecommitdiffstats
path: root/beep.c
blob: 74c83d3b5aa9b90dcc5d6671bb946fe361cff22c (plain)
1
2
3
4
5
6
7
8
9
10
// What is there to say? This beeps a bunch.
#include <stdio.h>

main () {
	int i = 1;
	while ((getchar() != 27) && (i != 50)) {
		printf("\a");
		i++;
	}
}