Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- int num,num2;
- printf("Entre com dois valores inteiros : \n"); scanf("%d %d",&num,&num2);
- if ((num%num2 == 0)||(num2%num == 0))
- {
- printf("Sao multiplos entre si!\n");
- }
- else printf("Nao sao multiplos entre si!\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment