Advertisement
Josif_tepe

Untitled

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