#include #include int main(void) { char s[81]; int i=0; int count=0; printf("Bitte text schreiben : "); gets(s); while(1) { if(s[i]==NULL)break; if(s[i]=='e')count++; i++; } printf("e im text %d mal",count); return 0; }