home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Reference Guide
/
C-C++ Interactive Reference Guide.iso
/
c_ref
/
csource5
/
349_01
/
sss.arc
/
EX_0201.FOR
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1991-04-09
|
364 b
|
22 lines
C Listing 1F - see documentation in TUTOR.SSS
$include:'SSSF1.H'
Program EX_0201
$include:'SSSF2.H'
real*8 pt
pt = EX(0.5)
99 continue
if (pt.le.10.0) then
write (*, '(A, F7.2)')
+ ' A new ship enters the port at time', pt
pt = pt + EX(0.5)
goto 99
endif
end