I am a beginner in C++ and need some help with some functions..
Write a function of shortening fraction.
Write functions to add, subtract, multiply and divide of two fractions.
In the main program you need to display an example of use.
Note: the denominator of the fraction cannot be set to 0.