Step-by-step explanation:
Program to add two fractions
Add two fraction a/b and c/d and print answer in simplest form.
Examples :
Input: 1/2 + 3/2
Output: 2/1
Input: 1/3 + 3/9
Output: 2/3
Input: 1/5 + 3/15
Output: 2/5
4.6m questions
6.0m answers