Advertisement
Josif_tepe

Untitled

Jan 23rd, 2024
816
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.     char c;
  6.     cin >> c;
  7.    
  8.     if(isalpha(c)) {
  9.         if(islower(c)) {
  10.             cout << "MALA" << endl;
  11.         }
  12.         else {
  13.             cout << "GOLEMA" << endl;
  14.         }
  15.     }
  16.     else {
  17.         cout << "GRESHKA" << endl;
  18.     }
  19.     return 0;
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement