the question am having problems with..
1.Write a class function that defines adding, subtracting, multiplying and dividing fractions by overloading standard operators for the operations.
2. Write a function member for reducing factors and overload I/O operators to input and output fractions.
how would i set this up anyone? thanks am really late on it, got tons of other homework and its due today..
1.Write a class function that defines adding, subtracting, multiplying and dividing fractions by overloading standard operators for the operations.
2. Write a function member for reducing factors and overload I/O operators to input and output fractions.
how would i set this up anyone? thanks am really late on it, got tons of other homework and its due today..