Jump to content

Leap year: Difference between revisions

Added Easylang
(→‎BQN: add)
(Added Easylang)
Line 1,793:
 
<pre>true</pre>
 
=={{header|EasyLang}}==
<syntaxhighlight>
func leapyear y .
if y mod 4 = 0 and (y mod 100 <> 0 or y mod 400 = 0)
return 1
.
return 0
.
print leapyear 2000
</syntaxhighlight>
 
=={{header|Ela}}==
2,058

edits

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