edge of cuboid by *yuko*

program-id.y.data division.working-storage section.
1 i pic 9999.
1 j pic 9999.
1 k pic 9999.
1 s pic x(14).
procedure division.a.accept s
unstring s delimited" "into i j k
compute i=(1+j*k/i)^.5
divide i into j k
display k(4- 0^(9/k):)" "j(4- function log10(j):)" "i(4-
function log10(i):)if k<>55 go a.

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page