Advertisement
Josif_tepe

Untitled

Mar 6th, 2024
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.35 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.     int n;
  5.     scanf("%d", &n);
  6.  
  7.     if(n % 3 == 0) {
  8.         printf("NULA\n");
  9.     }
  10.     else if(n % 3 == 1) {
  11.         printf("EDEN\n");
  12.     }
  13.     else{
  14.         printf("DVA\n");
  15.     }
  16.  
  17.     if(n % 2 == 0) {
  18.         printf("PAREN\n");
  19.     }
  20.     else {
  21.         printf("NEPAREN\n");
  22.     }
  23.     return 0;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement