C program to remove vowels in sentence , C/C++ Programming

C program to remove vowels in sentence :

void main()

{

                char  str[100];

                int n;

                printf("enter string\n");

                gets (str);

                n=strlen(str);

                printf("\n\n\nSentance after Deleting Vowel:\n\n");

                for(int i=0;i

                {

                                if((str[i]!='a')&&(str[i]!='A')&&(str[i]!='e')&&(str[i]!='E')&&(str[i]!='i')&&(str[i]!='I')&&(str[i]!='o')&&(str[i]!='O')&&(str[i]!='u')&&(str[i]!='U'))

                                                printf("%c",str[i]);

                }

                getch();

}             

 

Posted Date: 9/29/2012 7:08:30 AM | Location : United States







Related Discussions:- C program to remove vowels in sentence , Assignment Help, Ask Question on C program to remove vowels in sentence , Get Answer, Expert's Help, C program to remove vowels in sentence Discussions

Write discussion on C program to remove vowels in sentence
Your posts are moderated
Related Questions
write a c++ program for pebble merchant

define a class for student


program area under the curve y=f(x) between x=a & y=b, integrate y=f(x) between the limits of a & b   Solution: #include float    start_point,            /* GLOBAL V

write a queue program in c langauge?

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b.

#solution for decode the code for smuglers

DIFFERENCE BETWEEN WHILE AND DO WHILE LOOP?

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b