I got this wrong when it was said as a sentence:
What is forty plus forty times zero plus one? I said one. The person that asked me said no it is forty one. I plugged that into a program as:
Dim X as long
X = 40 + 40 * 0 + 1
msgbox(X)
and the answer came out as 41 which is correct.
I've never been good at math but I remember now something about doing multiplication and division first followed by adding and subtracting. What I can't remember is what mathmatical rule(s) that is called.
Anyone know?
What is forty plus forty times zero plus one? I said one. The person that asked me said no it is forty one. I plugged that into a program as:
Dim X as long
X = 40 + 40 * 0 + 1
msgbox(X)
and the answer came out as 41 which is correct.
I've never been good at math but I remember now something about doing multiplication and division first followed by adding and subtracting. What I can't remember is what mathmatical rule(s) that is called.
Anyone know?