/* Name : C source program Author : Funny Coder(Maniruzzman Akash) It's a free code. You can use it anywhere */ #include <stdio.h> int main(){ char alph; printf("\nEnter an alphabet: "); scanf("%c",&alph); if(alph == 'a' || alph == 'A' || alph == 'e' || alph == 'E' || alph == 'i' || alph =='I'|| alph == 'o' || alph == 'O' || alph == 'u'|| alph == 'U') printf("\n%c is a vowel.\n",alph); else printf("\n%c is a not a vowel..It's a consonant.\n",alph); return 0; }
No comments:
Post a Comment