Saturday, May 4, 2013

Coding Exercise: Am I engaged?


isSearchComplete = false;
while (!isSearchComplete) {
        if (isBeautiful(girlAtHand)) {
                isSearchComplete = true;
                exchangeRings();
                break;
        } else {
                girlAtHand = getNextGirl();
        }
}
.
.
.
.
.
.
.
.
.
.
.
.
.
more_beautiful_girl_1
more_beautiful_girl_2
and intelligent too!!!
.
.
.
.
exchangeRings();
isSearchComplete = false;
Hope, I don't get killed after this.... :D :D :D :D 

3 comments:

  1. hahahaha... well x - HTML guy i am so .. absolute love for this awesome post :)

    ReplyDelete