Day of the week: Difference between revisions
m
→{{header|EasyLang}}
Line 2,125:
=={{header|EasyLang}}==
<syntaxhighlight lang="easylang">
# Based on Conway's doomsday algorithm
# 1. Calculate the doomsday for the century
Line 2,189:
NthDay += day
# 6. Finally, calculate the day of the week
.
for i = 2008 to 2121
print "Christmas in " & i & " is on Sunday"
.
|