Jump to content

Chinese zodiac: Difference between revisions

m
(Forth version)
Line 1,837:
{{out}}
<pre>
; for (x in 1935 1938 1968 1972 1976 1984 2017) {printf ''%s '' $x; gforth zodiac.f $x}
1935 Wood Pig (yin)
1938 Earth Tiger (yang)
Line 1,846:
2017 Fire Rooster (yin)
</pre>
 
=={{header|FreeBASIC}}==
<syntaxhighlight lang="freebasic">dim as string yy(0 to 1) = {"yang", "yin"}
2

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.