Write a fraction class that will let you add, divide, multipy and subtract fractions.
It should also reduce fractions automatically.
You have to write a fraction class and then use the fraction class in the main program (most of which we did in class)
Your main program should allow you to entera fraction and then enter whether you want to add, subtract,
multiply or add. Then we would enter another fraction and the result will be printed out. The program


Example output of main program

Enter a numerator 3
Enter a denominator 4
Enter 1 to add
Enter 2 to subtract
Enter 3 to multiply
Enter 4 to divide
Enter 5 to end
2
Enter numerator 2
Enter denominator 3
Total is now 1 / 12
Enter a numerator 3
Enter a denominator 4
Enter 1 to add
Enter 2 to subtract
Enter 3 to multiply
Enter 4 to divide
Enter 5 to end
3
Enter numerator 1
Enter denominator 2
Total is now 1 / 24

The program would keeep letting you enter menu choices and fractions until you entered a 5 to end the while loop and the program.