Im considering writing a C++ program that can add, subtract, multiply or divide
ID: 3569420 • Letter: I
Question
Im considering writing a C++ program that can add, subtract, multiply or divide two fractions.While Keeping it simple.I wanna write some with functions such as "fetchFraction", "addFraction", "subtractFraction" (although remember the indirect function methods ) "reduceFraction", "showFraction", and whatever else i need. Keep things modular: divideFraction might simply invert the secondly submitted fraction, then send that result to multiplyFraction for instance. All fractions should be sent to findCommonDenominator if being added or subtracted, and reduceFraction for any fraction before showing the result.I want too think about the structure of both a Class and the program itself here with nice comments to follow along.