Practical 16

 Practical 16: Write a program that prompts the user to enter a decimal number and displays the number in a fraction.
Hint: Read the decimal number as a string, extract the integer part and fractional part from the string.


Comments