Josif_tepe

Untitled

Nov 22nd, 2025
585
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. int main(){
  4.     char c;
  5.     cin >> c;
  6.    
  7.     if(isalpha(c)) {
  8.         if(islower(c)) {
  9.             cout << "MALA" << endl;
  10.         }
  11.         else {
  12.             cout << "GOLEMA" << endl;
  13.         }
  14.     }
  15.     else {
  16.         cout << "GRESKA" << endl;
  17.     }
  18.    
  19.  
  20.     return 0;
  21. }
  22.  
Advertisement
Add Comment
Please, Sign In to add comment