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 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

How I get C, C++, C# .net assignments ?

Program of function overloading: class vector{                 private :                 int v[3];                   public:                 /*friend istream &

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

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

Write a simple telephone book program that stores the names and phone numbers of your friends/acquaintances in a file. Your program should have the abilities to: a. Add entries (na


Hello I''m new to programming, and I''m making now my 1st program. My question is how to put substr in textbox that question mark should be at the end of sentence? And 2nd question

when a class is defined the compiler will not allocate memory. This is true only for data member not for member function.  As soon as the member function is defined  the require

C Program to Check  EVEN & ODD NO   main() {           int n, a;           clrscr();           printf("ENTER ANY NUMBER: ");           scanf("%d", &n);