accept word convert it into lowercase and display new word replacing only vowels the character following it
#include"stdio.h"
#include"conio.h"
#include"ctype.h"
void main()
{
char ch1[20],ch[20];
int i;
clrscr();
printf("Enter any string=");
gets(ch1);
for(i=0;i"ch1[i]!='\0';i++)
{
if(isupper(ch1[i]))
{
ch[i]=tolower(ch1[i]);
}
else
{
ch[i]=ch1[i];
}
}
printf("\n\nLowercase string is=%s",ch);
printf("\n\nAfter removing vowels and replace following it=\n\n");
for(i=0;ch[i]!='\0';i++)
{
if(ch[i]=='a')
{
printf("%c",'b');
}
else if(ch[i]=='e')
{
printf("%c",'f');
}
else if(ch[i]=='i')
{
printf("%c",'j');
}
else if(ch[i]=='o')
{
printf("%c",'p');
}
else if(ch[i]=='u')
{
printf("%c",'v');
}
else
{
printf("%c",ch[i]);
}
}
getch();
}