Website Summary Files Commits Branches @commit @diff @stats
path: root / Sem. 01 / Solutions / task3.cpp
blob: cc987be45abd1e9cea333ef8dffa0ac7efcb9a4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>
using namespace std;

int main()
{
	char ch;
	cin >> ch;
		
	bool isVowel = ch == 'a' || ch == 'e' || ch == 'o' || ch == 'u' || ch == 'i'
				|| ch == 'A' || ch == 'E' || ch == 'O' || ch == 'U' || ch == 'I';

	cout << isVowel << endl;
}