The program must accept a string S containing only lower case alphabets as the input.The program must remove the repeated vowels in the string S.Then the program must print the modified string S as the output.

EXAMPLE INPUT/OUTPUT 1:

INPUT:

conditioner

OUTPUT

cndtner

Explanation:

The vowels o and i are repeated in the given string.

EXAMPLE INPUT/OUTPUT 2:

INPUT:

skillrack

OUTPUT

skillrack


CODE:

#include<stdio.h>
#include<stdlib.h>
int main() {
    char a[10001],b[10001];
    long long int len;
    long long int count=0;
    long long int k=0;
    scanf("%s%lln",a,&len);
    for(int i=0;i<len;i++)
    {
        for(int j=0;j<len;j++)
        {   if(i==j)
            {
                continue;
            }
            if((a[i]=='a'&&a[j]=='a')|| (a[i]=='e'&&a[j]=='e' )||(a[i]=='i'&&a[j]=='i')|| (a[i]=='o'&&a[j]=='o')||(a[i]=='u'&&a[j]=='u'))
            {
                count=1;
                break;
            }
        }
        if(count==0)
        {
            b[k++]=a[i];
        }
        count=0;
    }
    b[k]='\0';
    printf("%s",b);
}