hello
this is a homework so please dont give me the answer to the problem.
int num1, num2;
for (num1 = 1; num1 <= 101; num1++)
{
for (num2 = 1; num2 <= 101; num2++)
{
if (num1 / num2 == 5)
Console.WriteLine(num1 + "/" + num2);
}
}
Console.ReadLine();
this is what i have so far. the 2 numbers that com up first is right but then its relly get wrong. I want it to be every time the 2 numbers have the quotient of 5 the 2 numbers will com up on the screen. like if 10/2 = 5 then the 10/5 will com up.
sorry for my bad english