C++
Pig Latin String Converter
Penny Accumulator
Order Value Calculator
Math Operations
Integer Comparison
Fraction Multiplication Table Generator
Fraction Calculator Using Classes
a/b + c/d = (a*d + b*c) / (b*d)
a/b - c/d = (a*d - b*c) / (b*d)
a/b * c/d = (a*c) / (b*d)
a/b / c/d = (a*d) / (b*c)
The divisor and the divident of the result are then assigned to two different variables. Those values are then simplified to the lowest terms, which are then displayed on the screen as the result of the calculation.
Fraction Calculator
a/b + c/d = (a*d + b*c) / (b*d)
a/b - c/d = (a*d - b*c) / (b*d)
a/b * c/d = (a*c) / (b*d)
a/b / c/d = (a*d) / (b*c)
The divisor and the divident of the result are then assigned to two different variables, which are displayed on the screen as the result of the calculation.
Fraction Calculator Using Structures
a/b + c/d = (a*d + b*c) / (b*d)
a/b - c/d = (a*d - b*c) / (b*d)
a/b * c/d = (a*c) / (b*d)
a/b / c/d = (a*d) / (b*c)
The divisor and the divident of the result are then assigned to two different variables, which are displayed on the screen as the result of the calculation.