请高手指教!
#include "stdio.h"main()
{ int i=0;
char c;
printf("input:");
while((c=getchar())!='\n')
i++;
printf("charater of number=%d\n",i);
printf("input:");
scanf( "%c",&c);
}
请问这段程序如何实现循环?
2005-10-16 13:19
2005-10-16 16:14
2005-10-16 16:56
2005-10-20 11:47
2005-10-20 12:28

2005-10-20 12:29
2005-10-21 08:01
2005-10-21 08:37