Do please read the posting guidelines regarding silly thread titles. The thread title is supposed to help people who have a similar problem in future. Yours is useless for this purpose. You can (and should) edit it to make it more meaningful.
Please help us to help you by following the posting guidelines and wrapping your code in [ code ][ /code ] tags (omit the spaces). This means use the octothorpe or # button on the toolbar which will insert the tags. You can (and should) edit your previous post.
If you attend to these points you may well find that someone is prepared to offer you some guidance - but we do not do complete homework assignments. You are expected to make a serious effort yourself.
Hint - the function showTimetable() is not called anywhere.
Last edited by Philip M; 09-05-2010 at 11:27 PM..