#include <iostream> int main() { int a, b; std::cout << "Enter two integer numbers: "; std::cin >> a >> b; if (a % b == 0) { std::cout << b << " is a divisor of " << a << std::endl; } else { std::cout << b << " is not a divisor of " << a << std::endl; } return 0; }
int main() {
int a, b;
std::cout << "Enter two integer numbers: ";
std::cin >> a >> b;
if (a % b == 0) {
std::cout << b << " is a divisor of " << a << std::endl;
} else {
std::cout << b << " is not a divisor of " << a << std::endl;
}
return 0;
}