Skip to main content

PRINT A STRING BY REMOVING THE VOWELS IN THE STRING


LIST OF PROGRAMS

#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
void f(char s2[100]);
char s[100];
clrscr();
gets(s);
f(s);
getch();
}
void f(char s2[100])
{
 int i=0,len;
 len=strlen(s2);
 for(i=0;i<len;i++)
 {
 if(s2[i]=='a'||s2[i]=='e'||s2[i]=='i'||s2[i]=='o'||s2[i]=='u')
 continue;
 printf("%c",s2[i]);
 }
}

LIST OF PROGRAMS


Comments

Popular posts from this blog

unix commands