大神:帮忙看看我这个程序有啥问题
#include<stdio.h>main()
{
int c, n1, n2, n3;
n1 = 0;
n2 = 0;
n3 = 0;
while ((c = getchar())!= EOF)
{
if (c == ' ')
++n1;
if (c == '\t')
++n2;
if (c == '\n')
++n3;
}
printf("the blank space is %d;the tab is %d;the line break is %d" n1, n2, n3);
}