Advertisement
Josif_tepe

Untitled

Oct 21st, 2024
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.     int x;
  5.     scanf("%d", &x);
  6.    
  7.     if(x % 2 == 0 || x % 6 == 0) {
  8.         printf("DA");
  9.     }
  10.     else {
  11.         printf("NE");
  12.     }
  13.    
  14.  
  15.  
  16.     return 0;
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement