cs10 / bjc-r

The Beauty and Joy of Computing public resource repository.
https://beautyjoy.github.io/bjc-r
30 stars 100 forks source link

Leap Year Example Bug #419

Closed cycomachead closed 10 years ago

cycomachead commented 10 years ago

Emailed Bug: Gents--

http://bjc.eecs.berkeley.edu/bjc-r/cur/programming/conditionals/dates/checking-for-leap-years.html?topic=berkeley_bjc/intro_new/3-conditionals.topic&step=8&course=

This page offers three solutions to LEAP-YEAR? Unfortunately, despite the text, the three examples do not all work correctly. The third one doesn't work on 2000.

Either change the problem so it asks which years work or change the third example to make it work.

cycomachead commented 10 years ago

Fixed.