Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- char x;
- printf("Enter a character\n");
- scanf("%c",&x);
- if (x == 'a'|| x == 'e' || x == 'i' || x == 'o' || x == 'u')
- printf("%c is a vowel\n",x);
- else
- printf("%c is not a vowel\n",x);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment