MIPI_BaseC_WebinarFRTK/09_Lecture09/07_words_p23.c
2024-11-13 09:22:28 +03:00

15 lines
240 B
C

#include <stdio.h>
int main(void)
{
char s[100];
int count=0;
while(scanf("%s",s)==1)
{
count++;
printf("In this text %d words\n",count);
}
//printf("In this text %d words\n",count);
return 0;
}