A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
6
Task/Loops-While/REXX/loops-while-1.rexx
Normal file
6
Task/Loops-While/REXX/loops-while-1.rexx
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/*REXX program to show a DO WHILE construct. */
|
||||
j=1024
|
||||
do while j>0
|
||||
say j
|
||||
j=j%2 /*in REXX, % is integer division. */
|
||||
end
|
||||
6
Task/Loops-While/REXX/loops-while-2.rexx
Normal file
6
Task/Loops-While/REXX/loops-while-2.rexx
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/*REXX program to show a DO WHILE construct. */
|
||||
x=1024
|
||||
do while x>0
|
||||
say right(x,10) /*pretty up the output by aligning.*/
|
||||
x=x%2 /*in REXX, % is integer division. */
|
||||
end
|
||||
6
Task/Loops-While/REXX/loops-while-3.rexx
Normal file
6
Task/Loops-While/REXX/loops-while-3.rexx
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/*REXX program to show a DO WHILE construct. */
|
||||
x=1024
|
||||
do while x>>0 /*this is an exact comparison. */
|
||||
say right(x,10) /*pretty up the output by aligning.*/
|
||||
x=x%2 /*in REXX, % is integer division. */
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue