Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- int main () {
- char c;
- cin >> c;
- if (c >= 65 && c <= 90)
- cout << "ALPHA\nIS CAPITAL";
- if (c >= 97 && c <= 122)
- cout << "ALPHA\nIS SMALL";
- if (c >= 48 && c <= 57)
- cout << "IS DIGIT";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement