Remove mkc.sh; change README.md to reflect this
[copyleftie-krc.git] / ch01 / ex01-08.c
bloba69f5f756de2729f520384f73c7b1e88996e237b
1 #!/usr/bin/tcc -run
3 #include <stdio.h>
5 int
6 main() {
7 int c, n;
9 n = 0;
10 while ((c = getchar()) != EOF)
11 if (c == ' ' || c == '\t' || c == '\n')
12 ++(n);
14 printf("%d\n", n);
15 return 0;