on a lighter note...

IMG_4914.png
 
And the correct answer is....

View attachment 678114
They're both wrong - the answer is 12.

The commutative property + Order of operations + disambiguation results in

6 + 6 + (6 x 6 x 0)

PS C:\WINDOWS\system32> 6 + 6 + 6 * 6 * 0
12

Python, C++, Java, C# - all yield the same result.

you could sort-of ignore OOO if the equation were re-written and evaluated left to right as

6 * 6 * 0 + 6 + 6

Without understanding the commutative property, you would end up with 2 different and "correct" answers.

But the commutative declares that 6 + 6 + 6 * 6 * 0 = 6 * 6 * 0 + 6 + 6. If we didn't have that property, computer programming would not work because math wouldn't work.
 
Last edited:

Forum statistics

Threads
67,929
Messages
1,509,639
Members
148,774
Latest member
AletheaL49
 

 

 

Latest posts

Latest profile posts

Andrew62 wrote on Imac45acp's profile.
Hello,

Am I reading your post correctly to say that the Tsavo rifle will be coming out with a composite stock later this year? I ask because I had been looking very hard for a Tsavo, but if there is going to be a composite stock model I will wait for that.

Thank you for your time,

Andrew
1r4rc wrote on Corylax18's profile.
Saw your post. Nice. Denver too. Genesee area (just off 70) if ever up this way. Alternatively, do you have a membership at GGC? Whatever, you'll have a wonderful time in Africa. Enjoy.
'68boy wrote on UNTAMED KNIVES's profile.
Did you get my info? I sent name and requested info today. Want to make sure you received it. I don’t need any serial number etc
Leaner professional hunter
MooseHunter wrote on Wildwillalaska's profile.
Hello BJ,

Don here AKA Moose Hunter. I think you got me by mistake. I have seen that rifle listed but it is not my rifle No worries
 
Top