+ 2

print(6-3+2*4/2) = 7.00 how?

17th Dec 2021, 9:05 AM
Ashfiquzzaman Sajal
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👍
17th Dec 2021, 9:17 AM
Neil Young
0
In a nut shell your result should give you float
18th Dec 2021, 11:03 AM
JSONđŸŒ