Pages

Kamis, 10 November 2011
Bentuk umum statement perulangan
1.      FOR-NEXT
FOR counter = mulai TO selesai [STEP selisih] [EXIT FOR]
            Statement
...
NEXT [counter]

2.       NESTEED-LOOPING
FOR I = ........
Statement
...
FOR  J =.........
Statement
.........
NEXT  J
NEXT  I

3.       DO-WHILE-LOOP
DO WHILE ekspresi logika
           Statement

...
LOOP

4.       DO-UNTIL-LOOP
DO UNTIL ekspresi kondisi
           Statement
...
LOOP

5.       DO-LOOP-WHILE
DO
           Statement
...
LOOP WHILE ekspresi logika




6.       DO-LOOP-UNTIL
DO
           Statement
...
LOOP UNTIL ekspresi kondisi


0 komentar:

Posting Komentar