Classification of characters (1) P42042


Statement
 

pdf   zip

html

Write a program that reads a letter, and that tells if it is an uppercase letter or a lowercase letter, and that also tells if it is a vowel or a consonant. Here, assume that the vowels are ‘a’, ‘e’, ‘i’, ‘o’ and ‘u’, and their corresponding uppercase letters.

Input

Input consists of a letter.

Output

Tell if the letter is uppercase or lowercase, and also tell if it is a vowel or a consonant. Follow the format of the examples.

Public test cases
  • Input

    E
    

    Output

    uppercase
    vowel
    
  • Input

    H
    

    Output

    uppercase
    consonant
    
  • Input

    g
    

    Output

    lowercase
    consonant
    
  • Input

    u
    

    Output

    lowercase
    vowel
    
  • Information
    Author
    Jordi Petit
    Language
    English
    Translator
    Carlos Molina
    Original language
    Catalan
    Other languages
    Catalan
    Official solutions
    C++ Java Pascal Python
    User solutions
    C C++ Java Perl PHP Python Ruby