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
C Programming and Data Structures 1. Define and explain flow chart with an example. 2. Write an algorithm to print all even numbers in descending order and draw the flowcha
Can you think of a condition where your program would crash without attaining the breakpoint that you set at the starting of main()? A: C++ let for dynamic initialization of glo
Threaded binary tree: Consider the linked illustration of a binary tree 'T. Approximately half of the entries is the pointer fields 'LEFT' and 'RIGHT' will have null elements. Th
what are objects or simply define objects
Identify 2 to 3 existing algorithms commonly used for object tracking. Algorithms should be in C or written in MATLAB language. Document these algorithms in flowcharts and run thes
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
I am doing project on home stay which includes features like add homestay,search,book,delete homestay,
what is poiter
Program1: Write a program to find the factorial of a given number. The input is user given. Final output is printed out on to the screen. Program2: Write a program to gene
want to solve the thermodynamics problems on c language
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