SHARE
TWEET

vowel or consonant

a guest May 25th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     char ch;
  5.  
  6.     scanf("%c",&ch);
  7.  
  8.     if(ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u'){
  9.         printf("%c is vowel\n",ch);
  10.     }
  11.     else{
  12.         printf("%c is consonant\n",ch);
  13.     }
  14.  
  15.     return 0;
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top