why is 5+4*3 17 not 27
...because of the order of operations: divide and/or multiply before you add or subtract.
$${\mathtt{5}}{\mathtt{\,\small\textbf+\,}}{\mathtt{4}}{\mathtt{\,\times\,}}{\mathtt{3}} = {\mathtt{17}}$$
You're right