Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
12
Task/Loops-Do-while/XBasic/loops-do-while.basic
Normal file
12
Task/Loops-Do-while/XBasic/loops-do-while.basic
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
PROGRAM "dowhile"
|
||||
|
||||
DECLARE FUNCTION Entry()
|
||||
|
||||
FUNCTION Entry()
|
||||
val% = 0
|
||||
DO
|
||||
INC val%
|
||||
PRINT val%
|
||||
LOOP WHILE val% MOD 6 <> 0 ' or LOOP UNTIL val% MOD 6 = 0
|
||||
END FUNCTION
|
||||
END PROGRAM
|
||||
Loading…
Add table
Add a link
Reference in a new issue