Here, “p” is a numerator and “q” is a denominator. The examples of rational numbers are 6/5, 10/7, and so on. The rational number is represented using the letter “Q”. Like real numbers, the arithmetic operations, such as addition, subtraction, multiplication, and division are applicable to the rational numbers.