Algorithm of professional life

Aim:

To continue working hard as yet another software engineer in the crowd

Algorithm:

Step 1(previous night):Adjust alarm to ring at 7 am

Step 2(next morning):Snooze up ringing alarm unto 8 am

Step 3:Get ready

Step 4:Catch bus and reach office

Step 5:Start coding

Step 6(not regular):Attend team meetings in hindi and blink

Step 6:Repeat step 5,step 6 unto end of day

Step 7:Come late to home

Step 8:Sleep

Step 9:Go to step 1



Coding:

import hardwork.*;

Class ProfessionalLife{



public static void main(String professionals[]){

String vijay=professionals[1000000000];

boolean workGiven=true;

boolean meetingArranged=false;

boolean notEndOfDay=true;



for(;;){

adjustAlarm(7);

snoozeupAlarm(8);

getReady();

travelToOffice(bus);

while(notEndOfDay){

if(workGiven){

doCoding();

}

if(meetingArranged){

attendMeeting();

}

}

goHome(late);

sleep();

}

}

}





Output:

Salary credited to bank account at the end of the month

3 comments:

Joel said...

Nice programme, but did you notice that there are two "STEP 6" in algorithm?

Gautham said...

Salary credited....hmmm....maybe write an algorithm as to why Work>>salary ..

vijay said...

at Gautham: carmel Gautham?? :-)