Advertisement
Josif_tepe

Untitled

Mar 8th, 2023
771
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.  
  4. int main(){
  5.     int a, b;
  6.    
  7.     cin >> a >> b;
  8.    
  9.     if((a + b) % 15 == 0) {
  10.         cout << "DA" << endl;
  11.     }
  12.     else {
  13.         cout << "NE" << endl;
  14.     }
  15.  
  16.     return 0;
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement