SHARE
TWEET

problem_3

Raddia_Akter_Hride May 26th, 2019 72 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.     scanf("%c", &ch);
  6.     if(ch=='a' || ch=='A' || ch=='e' || ch=='E' || ch=='i' || ch=='I' || ch=='o' || ch=='O' || ch=='u' || ch=='U')
  7.     {
  8.         printf("It's a vowel\n");
  9.     }
  10.     else{
  11.         printf("It's a consonant\n");
  12.     }
  13.     return 0;
  14. }
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