Difference:
CSC121F2023Lab05Hint1
( vs. 1)
Revision 1
2023-06-19 -
cathybareiss
Line: 1 to 1
Added:
>
>
META TOPICPARENT
name="CSC121F2023Lab05"
Algorithm hint for displayMonth method
get the number of days in a month (from another method)
display the title of the month (using another method)
display the spaces for the missing days of the month
first day of the first week is 1
last day of the first week is 7 - starting day
while the last day of the week is < the last day of the month
display that week
add seven days to both of the variables
display the remaining partial week (first day to number of days in the month)
View topic
|
H
istory
:
r1
|
More topic actions...
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback