Re: Fraction Calculator with 4 functions in c++ [ex12 of ch#5]
Sab kucch hay yar,
There are separate functions for subtraction, multiplication & division ...
We've just called that functions, and used if statement to recognize that to which function we've to call...
We can also use switches instead of if statement ..
|