RosettaCodeData/Task/Even-or-odd/Run-BASIC/even-or-odd.basic

4 lines
83 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
for i = 1 to 10
if i and 1 then print i;" is odd" else print i;" is even"
next i