Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream.h>
- #include <conio.h>
- int main()
- {
- clrscr();
- char inp;
- cout << "Enter an Alphabet: ";
- cin >> inp;
- if(inp=='a'||inp=='e'||inp=='i'||inp=='o'||inp=='u'||inp=='A'||inp=='E'||inp=='I'||inp=='O'||inp=='U')
- cout << "\n\nEntered Alphabet is a vowel.";
- else
- cout << "\n\nEntered Alphabet is not a vowel.";
- getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment