Quote:Determination of the minimum pair of numbers that, when divided, give a number with a period after the decimal point.
Your requirement is not clear at all. What is "minimum pair" ? what is "a number with a period after the decimal point" ?
Quote:I have tried this in Java but not able to get the correct algorithm.
You show absolutely nothing, no try, you do not even try to do some input from user.
Your request is a do my homework !
Here we help you to fiw your code, but you need to attempt something and show it.
If really you cann't come out with anything, you should have a talk with your teacher.