Azra
Bronze Üye
-
- Katılım
- 11 Mart 2014
-
- Mesajlar
- 3.834
-
- Tepkime puanı
- 13
-
- ForumSAL Yaşı:
- 12 yıl 7 ay
- Kıdem:
- Forumun Eskisi
-
- Yaş
- 35
Kod:
#include<stdio.h>
#include<conio.h>
int main()
{
char cumle[256];
int i,say=0;
i=0;
puts("Bir cumle yazin= ");gets(cumle);
for(i=0;cumle[i];i++){
say++;
if(cumle[i]==' ')
{
printf("%d-",say-1);
say=0;
}
}
printf("%d",say);
}