Write a c program to check whether a character is vowel or consonants using switch case

#include<stdio.h>
void main() {
    char ch;
    printf("Enter character: ");
    scanf(" %c",&ch);
    switch(ch){
        case 'A':
        case 'E':
        case 'I':
        case 'O':
        case 'U':
            printf("Vowel"); 
            break;
        default: printf("Consonant");
    }
}