Attention: Compiler Under Construction

⚠️ The compiler is still under construction. While executing, the output may sometimes match the expected result, but it could still show incorrect output. Please be aware of this.

⛔ Each test case is case-sensitive, so ensure that every letter is correctly capitalized or lowercase as expected.

VedPad

28. Ask the user for a single character input, assign it to a variable, and check if it is a vowel (a, e, i, o, u). Print 'Vowel' or 'Consonant'.

Expected Output:

'Vowel' or 'Consonant' depending on user input

Test Cases

Test Case 1:

Input:

a

Output:

Vowel

Test Case 2:

Input:

b

Output:

Consonant

Test Case 3:

Input:

u

Output:

Vowel

Test Case 4:

Input:

z

Output:

Consonant

⌛ Waiting for execution...

VedPad

Font
Loading...

Your Output