*NwA* Clan
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Programming

2 posters

Go down

Programming Empty Programming

Post by Xazper Thu 20 Jan - 13:12:30

This was written on the classroom blackboard on the day leading up to the exam:

If (Exam == true)
{
Grade = Presentation();
}
Else if (date < examDate)
{
Panic();
}
else
{
Slack();
}
Presentation()
{
Dias.Show();
return 12; //Returns highest grade
}
Panic()
{
Consume(Redbull);
}
Slack()
{
Games.Play(WoW);
Games.Play(Battlefield 2);
Sleep(2880000);
}

Also I just came out of the exam with a 4 (equivalent to a D on ECTS) :D
Xazper
Xazper
*NwA* Clan Member
*NwA* Clan Member

Registration date : 2010-10-28

Back to top Go down

Programming Empty Re: Programming

Post by deadly22sniper Thu 20 Jan - 16:52:25

Hehe, nice. Though I much prefer Python's use of indentation for block delimitation.
deadly22sniper
deadly22sniper
*NwA* Clan Member
*NwA* Clan Member

Registration date : 2008-11-30

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum