Advertisement
Josif_tepe

Untitled

Feb 4th, 2021
184
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. #include <cstdlib>
  3. #include <vector>
  4. using namespace std;
  5. int main()
  6. {
  7.    
  8.     string s;
  9.     getline(cin, s);
  10.     for(int i = 0; i < s.size(); i++) {
  11.         if(isupper(s[i])) {
  12.             cout << "DA" << endl;
  13.             break;
  14.         }
  15.     }
  16.     return 0;
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement