RakeshMgs

Alphabet is Vowel or Consonant

 

Alphabet is Vowel or Consonant

#include <stdio.h> int main() { char ch; bool isVowel = false; printf("Enter an alphabet: "); scanf("%c",&ch); if(ch=='a'||ch=='A'||ch=='e'||ch=='E'||ch=='i'||ch=='I' ||ch=='o'||ch=='O'||ch=='u'||ch=='U') { isVowel = true; } if (isVowel == true) printf("%c is a Vowel", ch); else printf("%c is a Consonant", ch); return 0; }

output

Alphabet is Vowel or Consonant


рдЖрдкрдХो рдЖрд░्рдЯिрдХрд▓ рдХैрд╕ा рд▓рдЧा? рдЕрдкрдиी рд░ाрдп рдЕрд╡рд╢्рдп рджें
Please don't Add spam links,
if you want backlinks from my blog contact me on rakeshmgs.in@gmail.com