Replacing the characters to get all Vowels
for ( int i = 0 ; i < length ; i ++ ) { if ( find ( x , str [ i ] ) && ! find ( y1 , str [ i ] ) ) { ans += str [ i ] ; y1 . Add ( str [ i ] ) ; } else { ans += ( char ) z [ cc ] ; cc ++ ; } if ( cc == z . Count ) {