home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng)
/
ProfitPress-MegaCDROM2.B6I
/
MAGAZINE
/
MISC
/
JNFB88.ZIP
/
PALPRO.ARC
/
HYPO.SC
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1987-10-07
|
225 b
|
12 lines
PROC Hypotenuse(x,y)
w=x*x
z=y*y
RETURN (SQRT(w+z))
ENDPROC
x = 4
y = 5
? "If a right triangle has sides ",x," and ",y,","
? "then its hypotenuse is ",Hypotenuse(x,y),"."
SLEEP 4000