Given an improper fraction (as the numerator and the denominator ), determine and print it in mixed fraction form.
Here are a few examples of improper and mixed fractions:
The input will contain two integers () and ().
All test cases will always produce a valid mixed fraction.
Print three integers: the whole number, the numerator and the denominator of the mixed fraction, each separated by a space.
1 4 5
Login to submit
This problem requires some basic integer arithmetic: Let us consider NNN (the numerator) to be 9 and...