Friday, August 26, 2016

uri- 1044 - Multiples

#include<stdio.h>

int main()
{
    int a,b;

    scanf("%d %d",&a,&b);
    if(a%b==0 || b%a==0){
        printf("Sao Multiplos\n");
    }
    else{
         printf("Nao sao Multiplos\n");
    }
    return 0;
}

No comments: