C program to print vowels and consonants

C program to print vowels and consonants

Output:

Enter a string to print its vowels:
CodeRegister
The vowels in given string "CodeRegister" are:
o e e i e
The consonants in given string "CodeRegister" are:
C d R g s t r

Implementation: