Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
dim s(11)
|
||||
print 'enter 11 numbers'
|
||||
for i = 0 to 10
|
||||
input i + ">" , s[i]
|
||||
next i
|
||||
|
||||
for i = 10 to 0 step -1
|
||||
print "f(" + s[i] + ")=";
|
||||
x = f(s[i])
|
||||
if x > 400 then
|
||||
print "-=< overflow >=-"
|
||||
else
|
||||
print x
|
||||
endif
|
||||
next i
|
||||
end
|
||||
|
||||
function f(n)
|
||||
return sqrt(abs(n))+5*n^3
|
||||
end function
|
||||
Loading…
Add table
Add a link
Reference in a new issue