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
Program to design list in c: Write a program in c to insert the values in list void main() { int i=0; char a[20]; clrscr(); printf("Enter the line\n");
History?
Inline function: It is a function without prototype. The function is defined above main. The function should be declared above main function. Declaring
Structures A structure is a derived data type. It is a combination of logically related data items. Unlike arrays, which are a collection of such as data types, structures can
There are ''n'' ants on a ''n+1'' length rod. The ants are numbered from 1 to n and are initially placed at positions starting from position 1 till position n. They are moving eith
Record separation problem Let us assume that a particular database program manages a simple mailing list which consists of one record for each person on the list, and a number of f
write a program to find the area under curve y=f(x) between x=a and x=b,integrate y=f(x) between the limits a and b
I am doing project on home stay which includes features like add homestay,search,book,delete homestay,
Problem: (a) (i) What is a structure? (ii) How does a structure differ from an array? (b) Declare a structure, called account, that will contain the following data me
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
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