This date stuff provides us with a great opportunity to learn about another great computer concept (loops was the first one) which is making decisions.
I mean being able to say to the computer, "if this is true then do that".
Let me give you a simple example:
Task 7: Write a script to display what month it is. Check.
Challenge 4: Write a script to display the hour in am/pm form (eg 11:45am) - there are all sorts of "gotchas" in this challenge question - test very thoroughly before sending me your answer.
|HOME||Table of Contents||Previous||Next|