Smallest number to multiply to convert floating point to natural
Given a positive floating point number n, the task is to find the smallest integer k, such that when we multiply k with n, we get a natural number.Examples: Input : 30.25 Output : 4 30.25 * 4 = 321, there is no number less than 4 which can convert 30.25 into natural number. Input : 5.5 Output : 2 5.