Skip to content

Commit 0970e7b

Browse files
authored
Add files via upload
1 parent e9a9ed9 commit 0970e7b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

If_Else.cpp

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#include <iostream>
2+
using namespace std;
3+
4+
int main()
5+
{
6+
int ch = cin.get();
7+
8+
if (ch >= 48 && ch <= 57)
9+
{
10+
cout << "This is Numeric" << endl;
11+
}
12+
13+
else if (ch >= 97 && ch <= 122)
14+
{
15+
cout << "This is Lowercase" << endl;
16+
}
17+
18+
else if (ch >= 65 && ch <= 90)
19+
{
20+
cout << "This is Uppercase" << endl;
21+
}
22+
23+
return 0;
24+
}

0 commit comments

Comments
 (0)