Monday, May 24, 2010

Read chars untill press enter. if press enter show d ans hw manytimes vowels r occured.code must be 1line in c

I will try:


int d;


scanf,("%c",%26amp;charR);


if (strcmp(charR, "r") == 0)


{ d++; }


printf ("R appears %s ",d," times\n");


No comments:

Post a Comment