Question: Design a fraction calculator program that allows us to perform basic arithmetic operationson fractions. The program should: 1 . Read two fractions from the user,

Design a fraction calculator program that allows us to perform basic arithmetic operationson fractions. The program should:1. Read two fractions from the user, each consisting of a numerator (num) anddenominator (den) before the loop of the menu given in 2 below.2. Provide a menu with the following choices1. Calculate F1+ F22. Calculate F1* F23. Quit the program3. The program should continue running until the user chooses to quit (choice 3)4.(optional) Clear the screen after each operation for better readability.Note: use the following for fraction arithmetic: !=,"=,"=++=!==

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!