Advertisement
Josif_tepe

Untitled

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