mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-25 20:34:32 -08:00
24 lines
819 B
Markdown
24 lines
819 B
Markdown
### Calendar
|
|
|
|
This program prints out a calendar for any year. You must specify the starting day of the week of the year:
|
|
- 0: Sunday
|
|
- -1: Monday
|
|
- -2: Tuesday
|
|
- -3: Wednesday
|
|
- -4: Thursday
|
|
- -5: Friday
|
|
- -6: Saturday
|
|
|
|
You can determine this by using the program WEEKDAY. You must also make two changes for leap years. The program listing describes the necessary changes. Running the program produces a nice 12-month calendar.
|
|
|
|
The program was written by Geoffrey Chase of the Abbey, Portsmouth, Rhode Island.
|
|
|
|
---
|
|
|
|
As published in Basic Computer Games (1978):
|
|
- [Atari Archives](https://www.atariarchives.org/basicgames/showpage.php?page=37)
|
|
- [Annarchive](https://annarchive.com/files/Basic_Computer_Games_Microcomputer_Edition.pdf#page=52)
|
|
|
|
Downloaded from Vintage Basic at
|
|
http://www.vintage-basic.net/games.html
|