|
|
为什么我的loop会repeat print 2次的??
count_num=0;
while (count_num <10)
{
printf("enter the grade > \n") ;
scanf("%lc",&as);
printf("the result is %c",as);
}
result::
enter the grade > d /* 当我key in过后..
enter the grade >
enter the grade > /*repeat print 2次...过后才能 key in
如果我用 int 就不会出显这些问题..
请教各位大哥一下!!!!! |
|