Quantcast
Channel: VBForums - Maths Forum
Viewing all articles
Browse latest Browse all 112

How things add up

$
0
0
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?

Viewing all articles
Browse latest Browse all 112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>