Write a program that prompts the user to enter a decimal number and displays the number in

Question:

Write a program that prompts the user to enter a decimal number and displays the number in a fraction.image

image

Listing

image

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: