C++ - Finding multiples & eliminating common ones
I've written out a program that asks the user for two numbers and a threshold. The program should find all the multiples of both the numbers below the specific threshold. I've written a  for loop that will run through the numbers each time and check whether any of the multiples are also multiples of the other inputted number. If it is, it print it out. But strangely, when I run this program, it doesn't print anything out! It's quite frustrating!

    #include <iostream>
    using namespace std;

    int main()
    {
	int mult1, mult2, threshold;
	cout << "Enter first multiple: ";
	cin >> mult1;
	cout << "Enter second multiple: ";
	cin >> mult2;
	cout << "Enter the threshold: ";
	cin >> threshold;
	for (int i = 1; i < threshold; i++)
	{
		int check1 = mult1*i;
		int check2 = mult2*i;
		if (check1/check2 == 1)
		{
			cout << check1 << endl;
		}
	}
	char response;
	cin >> response;
	return 0;
    }
C++ - Finding multiples & eliminating common ones
===

I've written out a program that asks the user for two numbers and a threshold. The program should find all the multiples of both the numbers below the specific threshold. I've written a  for loop that will run through the numbers each time and check whether any of the multiples are also multiples of the other inputted number. If it is, it print it out. But strangely, when I run this program, it doesn't print anything out! It's quite frustrating!

    #include <iostream>
    using namespace std;

    int main()
    {
	int mult1, mult2, threshold;
	cout << "Enter first multiple: ";
	cin >> mult1;
	cout << "Enter second multiple: ";
	cin >> mult2;
	cout << "Enter the threshold: ";
	cin >> threshold;
	for (int i = 1; i < threshold; i++)
	{
		int check1 = mult1*i;
		int check2 = mult2*i;
		if (check1/check2 == 1)
		{
			cout << check1 << endl;
		}
	}
	char response;
	cin >> response;
	return 0;
    }