Day of the week: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 1,051: | Line 1,051: | ||
xmas 2112 is a sunday |
xmas 2112 is a sunday |
||
xmas 2118 is a sunday</pre> |
xmas 2118 is a sunday</pre> |
||
=={{header|TI-83 BASIC}}== |
|||
{{works with TI-84+/SE only}} |
|||
<lang ti89b> |
|||
:For(A, 2008,2121 |
|||
:dayofWk(A,12,25 |
|||
:If Ans=1 |
|||
:Disp A |
|||
:End |
|||
</lang> |
|||
outputs |
|||
<pre>2011 |
|||
2016 |
|||
2022 |
|||
2033 |
|||
2039 |
|||
2044 |
|||
2050 |
|||
2061 |
|||
2067 |
|||
2072 |
|||
2078 |
|||
2089 |
|||
2095 |
|||
2101 |
|||
2107 |
|||
2112 |
|||
2118</pre> |
|||
=={{header|UNIX Shell}}== |
=={{header|UNIX Shell}}== |