Beecrowd 1044 solution || Beecrowd 1044 Multiples Solution in C & C++

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;
}

Beecrowd 1048 – Salary Increase solution in C/CPP

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top
NEW TOXIC ROCKET CYCLE DECK in Clash Royale 2023 Best Deck in Clash Royale Best Deck for Arena 8 in Clash Royale Best Hog deck for Pro players Best Clash Royale Deck