Beecrowd 1044 Solution || Beecrowd 1044 Multiples Solution
Beecrowd 1044 Question
Beecrowd 1044 Multiples 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; }
Beecrowd 1044 Multiples Solution in C++
#include<iostream> using namespace std; int main() { int a, b; cin >> a >> b; if (a % b == 0 || b % a == 0) { cout << "Sao Multiplos\n"; } else { cout << "Nao sao Multiplos\n"; } return 0; }
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.