Vowel or Not
Submissions: 5226   Accuracy:

28.59%

  Difficulty: School   Marks: 0
*School Problem's Submission isn't counted in score!

Write a program to check whether a character is vowel or not.

Input:

The first line of the input contains T denoting total number of testcases. Each of the testcase contains one character c.

Note : c is either lowercase or uppercase english aplhabetic character

Output:

Print "YES" if character is vowel else "NO". (without the quotes)


Constraints:

1<=T<=100


Example:

Input:
2
a
z

Output:
YES
NO

 

** For More Input/Output Examples Use 'Expected Output' option **

Author: dipjal1996


If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.


to report an issue on this page.