Problem:
Question 1: write a class fraction that defines adding, subtraction, multiplying and dividing fraction by overloading standard operators for these operations, write a function member for reducing factors and overload i/o operators to input and output fractions.? Please show the code and explain it.
Question 2: What is constructor and its types? Please explain in detail.