Anonymous user
Find the last Sunday of each month: Difference between revisions
Find the last Sunday of each month (view source)
Revision as of 15:12, 14 November 2014
, 9 years agoCategory:Date and time
m (→{{header|Go}}: Link) |
|||
Line 1:
{{task}} [[Category:Date and time]]
Write a program or a script that returns the last Sundays of each month
of a given year.
The year may be given through any simple input method in your language
(command line, std in, etc.).
Example of an expected output:
<pre>./last_sundays 2013
Line 20 ⟶ 22:
;Cf.:
* [[Five weekends]]▼
* [[Day of the week]]
▲* [[Five weekends]]
* [[Last Friday of each month]]
|