A number of the form a/b, where “a” and “b” are whole numbers, and b is not equal to zero is known as fraction. ... On the other hand, A rational number is a number that can be written in the form p/q, where p and q are integers and q ≠ 0. The denominator of a rational number can never be zero.
Rational Numbers: Any number that can be written in fraction form is a rational number. This includes integers, terminating decimals, and repeating decimals as well as fractions. An integer can be written as a fraction simply by giving it a denominator of one, so any integer is a rational number.