Answer:
If the remainder we get is zero then it is terminating otherwise the number will be repeating.
Explanation:
In order to find whether a number is terminating or repeating, divide the numerator with the denominator. If the remainder we get is zero, then it is a terminating number and if we do not get zero as remainder, it is a repeating number.
In division algorithm, when the remainder is zero, we get a terminating algorithm as the algorithm stops or terminates.