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
64,687
Messages
1,424,682
Members
131,990
Latest member
GrantHelms
 

 

 

Latest posts

Latest profile posts

gregrn43 wrote on samson7x's profile.
Are you on Arkansas hunting net to?
cwpayton wrote on LivingTheDream's profile.
HEY there, if you want the lion info here it is.

BULL CREEK OUTFITTERS WELLS NV. {FACEBOOK} CLEVE AND BECKY DWIRE 775293 -1917..
THEY ARE OUT HUNTING ALOT SO MAY HAVE TO LEAVE MESSAGE.


CAL PAYTON
cwpayton wrote on MontanaPat's profile.
Hi Montana Pat heres the lion info,.
BULL CREEK OUTFITTERS WELLS NV. [ FACEBOOK] CLEVE AND BECKY DWIRE 775- 293-1917. they are out hunting alot this tlme of year

Cal Payton
bigrich wrote on Bob Nelson 35Whelen's profile.
thanks for your reply bob , is it feasible to build a 444 on a P14/M17 , or is the no4 enfield easier to build? i know where i can buy a lothar walther barrel in 44, 1-38 twist , but i think with a barrel crown of .650" the profile is too light .
Duke1966 wrote on Flanders357's profile.
ok $120 plus shipping
 
Top