Brain Teasers Trivia Mentalrobics
Optimized for Wii (visit full site)

Programmatic Phrase II


Fun:*** (2.76)
Difficulty:** (1.71)
Submitted By:eighsse


Find the common phrase that is represented by the following computer program code. Some amount of computer programming knowledge will help, as certain programming conventions are used. However, it may be solved without, as it is written in a very high-level (i.e., human-like) language.

For Each Thing
If itsPercentQuality = 100
Then itsPrice = 0

Show Hint


"The best things in life are free."

Everything between "Birth" and "Death" is "Life." Within "Life," the program is scanning the quality of each "Thing." If the quality is 100%, then it is one of "the best things in life," and its price is set to 0, or "free."


Rate Brain Teaser

If you become a registered user you can vote on brain teasers.




Back to Top

Copyright © 1999-2007 | Green | Privacy | Conditions
You are using the TV formatted version of Braingle. For more functionality, please visit the Full Website.

Sign In