Question: in python please !!! Topics: Input, output, variable, operations, decisions Problem Description: Proper fractions, improper fractions, and mixed fractions are defined at http://www.ltcconline.net/greenl/courses/187/b/impropermixed.htm B. .Write
in python please !!!


Topics: Input, output, variable, operations, decisions Problem Description: Proper fractions, improper fractions, and mixed fractions are defined at http://www.ltcconline.net/greenl/courses/187/b/impropermixed.htm B. .Write a program that prompts the user to enter the numerator and denominator of a fraction number and determines whether it is a proper fraction and improper fraction, including negative and zero as input numbers. For an improper fraction number, display its mixed fraction in the form of a+b/c if b%c is not zero; otherwise, display only the integer. Program Requirements: Write a program that accepts two integers for a fraction from user input and displays whether this fraction is a proper, improper or mixed fraction. The program should validate user input to make sure the car Sample Output: Sample 1: Enter a numerator: 16 Enter a denominator: 3 16/3 is an improper fraction and its mixed fraction is 5+1/3. Sample 2: Enter a numerator: 6 Enter a denominator: 7 6/7 is a proper fraction Sample 3: Enter a numerator: 6 Enter a denominator: 2 6/2 is an improper fraction and it can be reduced to 3 Sample 4: Enter a numerator: -6 Enter a denominator: -7 6/7 is a proper fraction Sample 5: Enter a numerator: -9 Enter a denominator: 7 Submission Requirements: 1. Source code: Pythong file named as PA1 Yourlastnamepy 2. Project report: Include pseudocode, at least 5 screenshots of test runs in one PDF file and name it PA1Yourlastname.pdf
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
