Showing posts with label movies. Show all posts
Showing posts with label movies. Show all posts

Friday, October 9, 2009

Desperate times calls for desperate measures....

Darn! my ipod's battery is empty again.after 2 hours of aimless and pointless surfing,I started on this post.And oh yeah! u guessed right.Am at office right now when i start this post.
As i stare at the monitor trying to unravel the mysteries hidden in the code written by my team-mate , I start to drift off. My mind is getting a bit loopy after the effort to understand the whiles and the fors. I want to complete that program.no.I want to write some kinda,any kind of program(en aarvathai nenacha enake aachiriyama iruku),thats why i am going to post the rest of the post in an algo format.read according to the algo.bear with me please.


//program to find your movie taste
step 1: if you are a vijay fan, skip to step 12.

step 2: initialize variables romance, comedy,thriller,drama,action,iduku_saagalam to zero.

step 3:if you are favourite movies is/are (thirupaachi || sivakaasi || thirumalai || tamizhan || pudhiya_geethai)
{increment iduku_sagalaam .
print "you are in denial.you are a vijay fan.i told you to goto step 12".skip to step 12.}

step 4:if you are favourite movies is/are (notting_hill || pretty_woman || walk_to_remember || notebook || casablanca || dil_se || alaipayuthe)
increment romance,drama.

step 5:if your favourite movies is/are (diehard || rambo || terminator)
increment action

step 6:if your favourite movies is/are (shawshank || forrest_gump || green_mile || godfather || iruvar)
increment drama

step 7:if your favourite movies is/are (vertigo || psycho || saw || others || nooraavadhu_naal) increment thriller,drama

step 8:if your favourite movies is/are (scarymovie || bruce_almighty || click || 50_first_dates)
increment comedy

step 9:if your favourite movies is/are(ghost || she's_the_man || His_girl_friday || 50_first_dates ) increment romance,comedy.


step 10:if (iduku_saagalam_count > 0) {"You are not LISTENING.read according to the program.you need psychiatric help. you are at the risk of committing suicide.you were once a deadly virus spreading across the state.but now you think u shouldnt have born. Your kind of have become an endangered species.very soon you will be seen only in museums.of course, what can you expect for the sin of being a vijay fan." skip to step 12.}


step 11:"your favourite movie genre is" (maximum_of(all counter variables).counter_name)

step 12: "bye.have a nice day. ".terminate program.

PS: couldnt resist to share a vijay sms.
vijay is the finance minister. Before the day of budget,he submits the budget plan.PM finds it out to be a exact copy of AP budget plan. he asks vijay,"WTF".vijays calmly responds,"it was a hit in AP.it will be a hit in tamil also". Thalapathy rocks.