Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 deletions
|
|
@ -0,0 +1,11 @@
|
|||
procedure main()
|
||||
S := []
|
||||
writes("Enter 11 numbers: ")
|
||||
read() ? every !11 do (tab(many(' \t'))|0,put(S, tab(upto(' \t')|0)))
|
||||
every item := !reverse(S) do
|
||||
write(item, " -> ", (400 >= f(item)) | "overflows")
|
||||
end
|
||||
|
||||
procedure f(x)
|
||||
return abs(x)^0.5 + 5*x^3
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue