A rational number, in Mathematics, can be defined as any number which can be represented in the form of p/q where q ≠ 0.
There are two main types of rational numbers: integers and natural numbers.
If a number can be written or can be converted to p/q form, where p and q are integers and q is a non-zero number, then it is said to be rational
Rationalnumbers include whole numbers (positive and negative), fractions, decimals, terminating decimal, repeating decimal, and irrational numbers that can be expressed as a fraction with a finite denominator.
Irrational numbers cannot be expressed as a ratio of two integers.
Integers are whole numbers including zero and their opposites.
Natural numbers are positiveintegers starting from one.
Whole numbers are all positive integers, including zero.