|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include <iostream>
using namespace std;
int main()
{
char c;
cin >> c;
if(c > 90)
{
cout << "lowercase" << endl;
}
else
{
cout << "uppercase" << endl;
}
if( c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u' || c == 'A' || c == 'E' || c == 'I' || c == 'O' || c == 'U')
{
cout << "vowel" << endl;
}
else
{
cout << "consonant" << endl;
}
return 0;
}
|