C program to check if input character is a vowel

C program to check if input character is a vowel

#include <stdio.h>
#include <stdbool.h>

bool checkVowel(char input){
	switch(input){
		case 'a':
		case 'A':
		case 'e':
		case 'E':
		case 'i':
		case 'I':
		case 'o':
		case 'O':
		case 'u':
		case 'U':
		return true; /*if input matches any case it returns true & breaks the execution */
		
		default:
		return false; /*if input is not a vowel then it returns false */
		
	}
}


int main(){
	char ch;
	
	printf("Input a character\n");
	scanf("%c", &ch);
	
	checkVowel(ch)? printf("%c is a vowel",ch):printf("%c is not a vowel", ch);
		return 0;
}