Advertisement
Josif_tepe

Untitled

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