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
Data is required to be fed into the program (input) and sent out of the program (output). Considering the draughtsman using a CAD station, the input is his commands to cause lines/
what is c++ ?
How to compute the Cost of GCD algorithm?
How do I create two functions: one to put a collection of criteria into normal form, and one to compute the score of a document. A collection of criteria will be represented using
Explain the parts of operators Assignment Operators The equal (=) sign is used for assigning a value to another. The left hand side has to be a variable (lvalue, which exc
Question 1 Write a program that accepts a 3x3 matrix from the user and finds the transpose of it Question 2 Explain Brief about class and objects. Also describe friend functi
compose a C program to solve the equation z2=(p1/Pg)+(v1^2/2g)+z1 p1=100kpa,v1=2m/s z1=3m P=1000kg/m^3 define g=9.81
What is difference between require_once (), require(), include()? require() includes and evaluates a specific file, if file isn't found then it shows a Fatal Error. require_
What are Arrays? Numerous applications require the processing of multiple data items that have identical characteristics. In such circumstances it is frequently convenient to p
board colouring program
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