![]() |
![]() |
![]() |
![]() |
![]() |
|
Write stopwatch: a class method for the Time class that
prints Time is up in the transcript when the number of seconds
indicated by the argument have elapsed. You may find it helpful to use
totalSeconds, a class method that answers the number of seconds past
midnight when sent to the Time class, and fromSeconds:,
described in Segment 531.