+ 2
print(6-3+2*4/2) = 7.00 how?
2 Answers
+ 4
1] FIRST SOLVE THE DIVISION FOR THAT YOU HAVE SOLVE MULTIPLICATION TOO SO 2*4=8/2=4.0 ITS IN FRACTIONAL FORM COZ WHEN WE DO DIVISION WE FLOAT IT
2]SECOND 6-3=3
3]THIRD ADD 4.0+3=7.0
CONCLUSION ALWAYS FOLLOW
B=BRACKETS
O=ORDER [POWER,SQUARE ROOT ETC]
D=DIVISION [SOLVE FROM LEFT TO RIGHT]
M=MULTIPLICATION [SOLVE FROM LEFT TO RIGHT]
A=ADDITION [SOLVE FROM LEFT TO RIGHT]
S=SUBTRACTION [SOLVE FROM LEFT TO RIGHT]
HAPPY CODINGđ
0
In a nut shell your result should give you float