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

Assignment Help:

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();

}             

 


Related Discussions:- C program to remove vowels in sentence

M - algorithm corrections, Of course it is C[i] = A[i] + B[i].It was a typi...

Of course it is C[i] = A[i] + B[i].It was a typing mistake,never mind. You just understand the concept. 27-1 b. for grain-size=1 n=A.length grain-size=1 r=n for

Compiler design-limit the methods, Problem : Compiler Design - Limit the me...

Problem : Compiler Design - Limit the methods Rahul is a newbie to the programming and while learning the programming language he came to know the following rules: ·

FILES, My file pointer is going to the location which i specified and writi...

My file pointer is going to the location which i specified and writing the value but it is in next line so,please help me iam developing in visual studio6

Need discrete math tutor, Project Description: I will need a tutor that ...

Project Description: I will need a tutor that would help me out in Data Structure and learning Algorithm more at the mathematical/algorithmic level. The book is written by "by T

Program simulate a metropolitan subway train, You're going to simulate a me...

You're going to simulate a metropolitan subway train.  The train system will start out at Station #1, or Home  Station, and will service multiple stations along its route.

Float number, We can combine more than one variable on the same line i.e. ...

We can combine more than one variable on the same line i.e.   float number1,number2,number3; etc Sometimes we want to mix the variable types used on the same line, this could

Class, array of class objects and single inheritance

array of class objects and single inheritance

Explain public derivation, Public derivation Public derivations are muc...

Public derivation Public derivations are much more common than private derivations. In this situation: The private members inherited from the base class are inaccessible

Function returning object, F u nction Returning Object: This program ...

F u nction Returning Object: This program is like to the previous program except the function returns object.  The main rule to be remembered is the function returning obj

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd