Difference:
CSC121S2023Lab6H4
(1 vs. 2)
Revision 2
2023-02-06 -
cathybareiss
Line: 1 to 1
META TOPICPARENT
name="CSC121S2023Lab06"
Displaying a month
Display the name of the month (it need not be centered)
Line: 6 to 6
For each day of the month (1 to number of days)
print the day (
NOT println
)
add on to the day of the week
Changed:
<
<
if Saturday was printed, print a
>
>
if Saturday was printed, print a new line
Help with proportional spacing
\ No newline at end of file
Revision 1
2023-02-06 -
cathybareiss
Line: 1 to 1
Added:
>
>
META TOPICPARENT
name="CSC121S2023Lab06"
Displaying a month
Display the name of the month (it need not be centered)
Print enough blanks for the days being skipped to get to the first day of the month
For each day of the month (1 to number of days)
print the day (
NOT println
)
add on to the day of the week
if Saturday was printed, print a
Help with proportional spacing
View topic
|
H
istory
:
r2
<
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