For this Question: Given a letter of lowercase English alphabet, your task is to determine whether it is a vowel or a consonant.User task:
Since this is a functional problem you don't have to worry about the input. You just have to complete the function <b>VowelorConsonant()</b> which contains M as a parameter.

Constraints:-
'a' <= alpha <= 'z'Print C if the given alphabet is Consonant else Print V.Sample Input:-
a

Sample Output:-
V

Sample Input:-
b

Sample Output:-
C, I have written this Solution Code: 
	static void VowelorConsonant(char C){
     if(C=='a' || C=='e' || C=='i' || C=='o' || C=='u'){System.out.print("V");}
     
     else{
         System.out.print("C");
     }
	}
, In this Programming Language: Java, Now tell me if this Code is compilable or not?