on a lighter note...

489815170_10233024957399226_6708263921173484869_n.jpg
 
1744392598127.png
 
1744392723710.png
 
IMG_1507.jpeg
 
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.

What the fk are you talking about....and in which language?....:E Confused::E Huh::E Loopy::E Head Scratch:
 

Forum statistics

Threads
71,399
Messages
1,600,958
Members
177,128
Latest member
lddczbki
 

 

 

Latest profile posts

People Urino Control Капсула Ukraine with diabetes may also have an elevated threat of positive infections, especially whilst blood glucose is not well controlled. Buy here: https://aptekaukraine.com/product/urino-control-kapsula/
dasbrink wrote on Piet Brood's profile.
Klink Afrikaans en of jy dalk daai bynaam op Steynsrus in die Vrystaat gekry het.
expresshunt wrote on Jack Stevens's profile.
Hi Jack, had a prob with batch of Hornady 404 this year for clients,,, DGX bullets were too tough, not mushrooming, disater, lost a nice bull, & 5 other animals needing a bunch of shots... zip thru,, found one opposite skin, not unexpandedl.. crazy. I wont grizzle openly, as Im sure its fixed. Hornady always been good. Cheers Graham
M70375! wrote on Catahoula's profile.
I will take all of them for $120 shipped, if still for sale.
Happy Thanksgiving to our American Friends
 
Top