How To Convert Decimal Number Into Rational Number
Conversion Of Decimal Numbers Into Rational Numbers Of The Form m/nCase I: When the decimal number is of terminating nature. Algorithm:Step-1: Obtain the rational number.Step-2: Determine the number of digits in its decimal part.Step-3:…