- #1
whatever84
- 3
- 0
Dear all,
Can anybody tell me if there is any mathematical way to know how many zeros between a and b, where we should consider all the numbers between them (inclusive).
E.g.
a = 10,
b = 12,
numbers in between: 10, 11, 12
Thus, the answer is --> 1
I made a simple program to do this for me by looping and incrementing, but as the numbers become bigger, it take "long" time to get the result.
Thus, math theories might be the solution for such problem.
Thanks
Can anybody tell me if there is any mathematical way to know how many zeros between a and b, where we should consider all the numbers between them (inclusive).
E.g.
a = 10,
b = 12,
numbers in between: 10, 11, 12
Thus, the answer is --> 1
I made a simple program to do this for me by looping and incrementing, but as the numbers become bigger, it take "long" time to get the result.
Thus, math theories might be the solution for such problem.
Thanks