[Practice] Vowels and Consonants


Submit solution

Points: 10
Time limit: 0.5s
Memory limit: 2M

Author:
Problem type

Problem Definition

Write a Program to check whether the given character is a Vowel ('A','E','I','O','U','a','e','i','o','u') or consonants. Please use array to store the references for vowels.

Test Data

Sample Input 1:

a

Sample Output 1:

Vowel.

Sample Input 2:

U

Sample Output 2:

Vowel.

Sample Input 3:

R

Sample Output 3:

Consonant.


Comments

There are no comments at the moment.