void RemoveVowels(char *str)
{
int i = 0;
int lenght = strlen(str);
for(i=0;i < lenght-1;i++)
{
if (str[i]=='a' || str[i]=='e' || str[i]=='i' || str[i]=='o' || str[i]=='u' || str[i]=='A' || str[i]=='E' || str[i]=='I' || str[i]=='O' || str[i]=='U') {
str[i]=' ';
}
}
}
Hey guys having trouble trying to remove the vowels here, i cant figure out were I'm going wrong. thanks in advance.