Is there a way to simplify a fraction including decimals?
Whenever a user inputs a fraction, it might be contain decimals (long double). I have some code (C++) below to show how I implement this:
Whenever a user inputs a fraction, it might be contain decimals (long double). I have some code (C++) below to show how I implement this: