diff --git a/README.md b/README.md index 12d60df..63fad57 100644 --- a/README.md +++ b/README.md @@ -9,18 +9,17 @@ g++ -o fractions fractions.cpp **Output** ``` -a = 3+2i -a* = 3-2i -a*a* = 13 -b = 4-3i -b* = 4+3i -b*b* = 25 -a + b = 7-i -(a + b)* = 7+i -a - b = -1+5i -(a - b)* = -1-5i -a * b = 18-i -(a * b)* = 18+i -a / b = (6/25)+(17/25)i -(a / b)* = (6/25)-(17/25)i +7/3=(7/3) +7/3=2.333333333 +1/11=(1/11) +1/11=0.09090909091 +(7/3)+(1/11)=(80/33) +(7/3)+(1/11)=2.424242424 +(7/3)-(1/11)=(74/33) +(7/3)-(1/11)=2.242424242 +(7/3)*(1/11)=(7/33) +(7/3)*(1/11)=0.2121212121 +(7/3)/(1/11)=(77/3) +(7/3)/(1/11)=25.66666667 +0.75=(3/4) ```