Day of the week: Difference between revisions
→{{header|Logo}}
Line 1,302:
to sunday? :year :month :day
output equal? 0 day_of_week day_number :year :month :day
end
; Put it all together to answer the question posed in the problem
print filter [sunday? ? 12 25]
bye</lang>
|