Advertisement
Josif_tepe

Untitled

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