Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 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