Chinese zodiac: Difference between revisions
→{{header|APL}}: Add CE year to output
(→{{header|APL}}: Add implementation.) |
(→{{header|APL}}: Add CE year to output) |
||
Line 413:
cs ← celestial year
tb ← terrestrial year
vec ← year, (position year), cs, tb, (pinyinFor cs), (pinyinFor tb), (element year), (animal year), (aspect year)
∇
10 1 ⍴ cz ¨ 1935 1938 1941 1944 1947 1968 1972 1976 2003 2006</syntaxhighlight>
{{Out}}
<pre>
1947 24 丁亥 dīng hài Fire Pig yin
1972 49 壬子 rén zĭ Water Rat yang
2006 23 丙戌 bĭng xū Fire Dog yang
</pre>
|