Uncategorized Print Only Vowels In Java - Now, to check whether ch is vowel or not, we check if ch is any of: This c program to display vowels of a string using ascii values, switch case and if else loop.