Thirteen Years of Service
Posts: 529
Threads: 52
RE: little brain teaser! 06-17-2014, 04:01 AM
#2
Please don't mess with Caps and Smalls. If you mean A==B, then It will return True, as A contains 20 and B also contains 20.
![[Image: MUJ8qSW.png]](http://i.imgur.com/MUJ8qSW.png)
-----------------------------------
Now learning:
Android Development, Java
Working on:
An FTP Client for Android
-----------------------------------
•
Twelve Years of Service
Posts: 112
Threads: 10
RE: little brain teaser! 06-17-2014, 05:46 AM
#3
This would always be true. A will last be edited by 'A = 20', and B will always be edited last by 'B = 20'.
Hence, it will always be true.
-NinjaKnight-
•
Twelve Years of Service
Posts: 127
Threads: 20
RE: little brain teaser! 06-17-2014, 05:58 AM
#4
true all the time simple enough i think once you figure out that a=20 and b=20
•
Thirteen Years of Service
Posts: 2,367
Threads: 170
RE: little brain teaser! 06-17-2014, 10:58 AM
#8
are you asking for a truth table of some sort?
Pierce the life fibers with your drill.
•
Twelve Years of Service
Posts: 13
Threads: 4
RE: little brain teaser! 07-06-2014, 10:27 PM
#9
If you create a loop to check every variable in order, the result would be True every time.
If you add all A vars and all B vars the outcome would be the same.
It just depends on how you think about it, their are many answers to this question.
•