Question: In c++ and simple program please , Write a program that prompts the user to enter the numerator and denominator of a fraction. The program
In c++ and simple program please ,
Write a program that prompts the user to enter the numerator and denominator of a fraction. The program determines whether the number is a proper fraction or an improper fraction. If it is a proper fraction, display the number. If not, reduce it to a mixed fraction or to an integer. Here are sample runs:
Enter a numerator: 45
Enter a numerator: 45
Enter a numerator: 45
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
