Input
The input has two integer numbers.
Output
Print the relative message to the input as stated above.
| Input Sample | Output Sample |
6 24
|
Sao Multiplos
|
6 25
|
Nao sao Multiplos
|
Solution using C :
#include <stdio.h>
int main() {
int A,B;
scanf("%d%d",&A,&B);
if(B%A == 0 || A%B == 0)
printf("Sao Multiplos\n");
else
printf("Nao sao Multiplos\n");
return 0;
}


Comments
Post a Comment