Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
12
Task/Loops-While/Fortran/loops-while-3.f
Normal file
12
Task/Loops-While/Fortran/loops-while-3.f
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
PROGRAM LOOPWHILE
|
||||
INTEGER I
|
||||
C FORTRAN 66 does not have IF block.
|
||||
I = 1024
|
||||
10 CONTINUE
|
||||
IF (I .LE. 0) GOTO 20
|
||||
WRITE (*,*) I
|
||||
I = I / 2
|
||||
GOTO 10
|
||||
20 CONTINUE
|
||||
STOP
|
||||
END
|
||||
Loading…
Add table
Add a link
Reference in a new issue