Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
8
Task/Even-or-odd/DCL/even-or-odd.dcl
Normal file
8
Task/Even-or-odd/DCL/even-or-odd.dcl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
$! in DCL, for integers, the least significant bit determines the logical value, where 1 is true and 0 is false
|
||||
$
|
||||
$ i = -5
|
||||
$ loop1:
|
||||
$ if i then $ write sys$output i, " is odd"
|
||||
$ if .not. i then $ write sys$output i, " is even"
|
||||
$ i = i + 1
|
||||
$ if i .le. 6 then $ goto loop1
|
||||
Loading…
Add table
Add a link
Reference in a new issue