Hello,I have three homework questions.i already finished two of them but couldn't solve this one.Can you guys help me to solve this.Thank u.Also,i am a beginner,so It would be really helpful if you guys write it in details.
Write a program which manipulates fractions.
It should get two fractions from the user by inputing two numerators and two denumerators (integers) from 0 to 999 and then have the user select an operation from addition, subtraction, multiplication, and division, check for input errors (<0 or >999) and for division by 0 and gives appropriate error messages, terminating in case of error.
It then displays the two fractions in fraction form, the operation between them and the result of the operation in fraction form and the result of the division.
Take care of the fraction line!
The program should then give the option to the user to repeat the process and enter a new pair of fractions or terminate the program.
Fortunately, for your learning process, nobody here is going to do your homework for you. (See why --> DoYourOwnHomework). However, we will gladly help you with any specific problems you are having while working on it yourself. The best way to get help is to show us what you have done so far and explain nice and clearly what the particular problem is you are having with it.
You might think I'm being difficult or awkward, but I'm encouraging you to be analytical of your own program, to be methodical in your testing process, to be clear of the requirements and verify that what you've done satisfies them, completely.