multiplication (*) and division ( /) has the same priority to handle.
In these case you have calculate from left to right:
first the division 6/2 =3
then the multiplication 3 * (2+1)=3 * (3)=3 * 3=9
if you want 1 as result the formular should look like : 6/(2 * (2+1))
You are viewing a single comment's thread from: