1044 - Multiples

Problem Link


A Solution in c

#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

Theme images by Jason Morrow. Powered by Blogger.