Brain Teasers Optical Illusions Puzzle Hunts Codes & Ciphers Mechanical Puzzles
Personal Links
Browse Teasers
Search Teasers

Programmatic Phrase



 

Puzzle ID:#50024
Fun:*** (2.94)
Difficulty:** (1.29)
Category:Other
Submitted By:eighsseAus******
Corrected 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.

Begin
yourLocation = 50
fenceLocation = 100
For Each BladeOfGrass
{
If itsLocation > 100
Then itsColor = #009900
Else itsColor = #007700
}
End





What Next?

  
  

See another brain teaser just like this one...

Or, just get a random brain teaser

If you become a registered user you can vote on this brain teaser, keep track of
which ones you have seen, and even make your own.

 






Back to Top
   


Online Now
6 users and 664 guests

Users In Chat
autumn
Follow Braingle!
Tap into all 20,000+ of our brain teasers, riddles and puzzles on your iPhone or iPad.
Braingle in the iTunes App Store
Copyright © 1999-2017 | FAQ | Widgets | Links | Green | Subscribe | Contact | Privacy | Conditions | Advertise | Braingle Time: 10:58 am
Sign In Create a free account