The purpose of this program is to create an interface through which users can add two fractional numbers together. For this, program to function, the user is first prompted to enter the first fraction in the form of a/b, then the second fraction in the form of c/d. The program then calculates the addition of these two fractions using the equation ((a*d)+(b*c))/(b*d). The divisor and the divident are assigned to two different variables, which are then displayed on the screen as the result of the calculation.

Download |
Source Code