Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C Program to FIND VOWELS AND REMOVE VOWELS
void main()
{
char s[100],s1[100];
int i,j,k=0;
clrscr();
printf("ENTER ANY STRING: ");
gets(s);
for(i=0;s[i]!='\0';i++)
if(s[i]=='a' || s[i]=='e' || s[i]=='i' || s[i]=='o' || s[i]=='u' || s[i]=='A' || s[i]=='E' || s[i]=='I' || s[i]=='O' || s[i]=='U')
k++;
printf("\nTHE VOWELS ARE: %c",s[i]);
j=i;
do{
s[j]=s[j+1];
j++;
}while(s[j]!='\0');
}
printf("\nTHE TOTAL VOWELS ARE: %d",k);
printf("\nAFTER REMOVING THE VOWELS,THE NEW STRING IS: %s",s);
getch();
OUTPUT :
ENTER THE STRING: KAMLESH MENGAR
THE VOWELS ARE: A
THE VOWELS ARE: E
TOTAL NO OF VOWELS ARE : 4
AFTER REMOVING THE VOWELS, THE NEW STRING IS : KMLSH MNGR
Problem: (a) What is the main advantage to using a data file? (b) What is meant by opening a data file? How is this accomplished? Illustrate your answer clearly with a sui
em Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using ''Content here, content here'', making it look like readable English. Many desktop publis
coding
What is Ms dos?
Consider the following example: int max(int x, int y) { return ( x > y) ? x : y ; } float max
i need to do my home work
In this lab, please complete a given program to perform the following tasks: 1. Allocate a 10 by 5 2D byte array dynamically. The way of allocation must be consistent with pag
A skilled programmer is required to build a standalone module to extract, parse and store in database tables, word count data from web pages and RSS feeds. The module can take R
in this problem you are given a board in which some of the elements are placed as shown in below diagram.each element represent a color.fill the other element in the board,such tha
Area under the curve 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 bet
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!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd