Braingle Lite



Programmatic Phrase

Category:Other
Submitted By:eighsse
Fun:*** (2.64)
Difficulty:** (1.33)



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

Hint:

#007700 is the hexadecimal color code of a green shade, and #009900 is that of a somewhat brighter green.

Hide Hint Show Answer



Comments on this teaser

Show all 4 comments




Search:
Browse:

Most Popular | Hardest | Easiest




Privacy | Terms
Copyright © 2003