WAP to accept 20 names in an array then print only those names in which first letter is uppercase vowel and the last letter is upper case consonant(assume all the names are entered in capital letters)
Input:
UMESH |
ROHAN |
NEHA |
AAYUSHMAN |
SUHANI |
TOSHIBA |
MOHAN |
RAHUL |
SURAJ |
SUNITA |
IRFAN |
SACHIN |
KRISHNA |
IMANUEL |
RUPESH |
OM |
MOHIT |
ANSHU |
YUTAK |
ROHINI |
Output:
UMESH |
AAYUSHMAN |
IRFAN |
IMANUEL |
OM |
Published By : Sunita Chhetry