Advertisement
PROFESSOR_AIH

Multiples

Mar 25th, 2022
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.20 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int a,b;
  5.     scanf("%d %d",&a,&b);
  6.     if(a%b==0 || b%a==0)
  7.         printf("Sao Multiplos\n");
  8.     else
  9.         printf("Nao sao Multiplos\n");
  10.  
  11.  
  12.     return 0;
  13. }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement