Advertisement
Josif_tepe

Untitled

Feb 4th, 2022
1,138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5.     string zbor;
  6.     cin >> zbor;
  7.    
  8.     for(int i = 0; i < zbor.size(); i++) {
  9.         if(isupper(zbor[i])) {
  10.             cout << "GOLEMA ";
  11.         }
  12.         else {
  13.             cout << "MALA ";
  14.         }
  15.     }
  16.     return 0;
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement