CS 344 - Fall 2018: Assignments

Lab 3
Thursday, September 20, 2018

How old are you?
Write a script in an external file that does the following:

  1. Ask a user for their birthday.
  2. Compute how old they are, in years.
  3. Ask the user to pick either when Google was founded or when the WWW was founded.
  4. Compute how many days older or younger they are than the event they picked.

Link your script to one of your html programs to test it.