Advertisement
Josif_tepe

Untitled

May 18th, 2024
696
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main() {
  4.     int a, b;
  5.     cin >> a >> b;
  6.  
  7.     if(a > b or b % 2 == 1 or a % 100 == 0) {
  8.         cout << "DA" << endl;
  9.     }
  10.     else {
  11.         cout << "NE" << endl;
  12.     }
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement