CSci 1101 Lab 4. Due Tuesday, Feb. 23 at 11:59pm

Work in groups of two. Please make a separate folder for this lab.

Fixing the time problem (5 points)

Fix the incorrect time handling in cascading if/else exercise: change it so that it prints an error message for invalid times, i.e. $hour < 0 and $hour > 23.

If/else exercise (7 points)

Finish the exercise on conditionals.

To submit

Save the two files on csci1101sp10. Send me an e-mail with the URLs of the files when done. Both group partners should be on CC list for this.


CSci 1101 course web site.

The views and opinions expressed in this page are strictly those of the page author. The contents of this page have not been reviewed or approved by the University of Minnesota.