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
Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Variables Information stored in a variable can alter in the course of the program. The type used in the definition explains the kind of information the symbol can store. Variab

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

In the Byteland country a string "s" is said to super ascii string if and only if count of each charecter in the string is equal to its ascci value in the byteland country ascii co

Rules of Operator Overloading It is a function defined to an operator with new term or meaning. It cannot produce new operator. It cannot modified the meaning of th

A palindrome is a string that reads the same from the both the ends. Given a string S convert it to a palindrome by doing character replacement. Your takes is to convert S to palin

padovan string for a natural number is defined

How does placing some code lines between comment symbols help in debugging the code? - Placing comment symbols /* */ around a code separates some code that coder believes might

Intelligent homes are becoming increasingly popular as the cost/performance ratio of microcontrollers is continuously dropping.  These systems incorporate various transducers to de

how yo use the friend function?