Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
begin
|
||||
integer i; real y; real array a[0:10];
|
||||
real procedure f(t); value t; real t;
|
||||
f:=sqrt(abs(t))+5*t^3;
|
||||
for i:=0 step 1 until 10 do inreal(0, a[i]);
|
||||
for i:=10 step -1 until 0 do
|
||||
begin
|
||||
y:=f(a[i]);
|
||||
if y > 400 then outstring(1, "TOO LARGE")
|
||||
else outreal(1,y);
|
||||
outchar(1, "\n", 1)
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue