Advertisement
Josif_tepe

Untitled

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