Write a program that asks the user how many floating point numbers he/she wishes to enter. After that, the user should ask for the numbers and subsequently, the program should print how many pairs of consecutive numbers return an integer when the first of  the two numbers is divided by the second.
E.g. if the user enters 1.2  0.6  6.75  3544.3432  3.66  1.22  0.326  45.3459, the program should return 2, because 1.2 / 0.6 is 2 and 3.66 / 1.22 is 3.
In c++



Answer :

Other Questions