URI 1044 Solve

Solve of URI 1044 (Multiples) in C

#include<stdio.h>
int main(void){
    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;
}

Post a Comment

Previous Post Next Post