var
x, y: real;
begin
x := 1;
while x <= 3.01 do
y := x * (x * x + 2);
Writeln(x:3:1, y:10:3);
x := x + 0.2;
end;
end.
repeat
until x > 3.01;
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var
x, y: real;
begin
x := 1;
while x <= 3.01 do
begin
y := x * (x * x + 2);
Writeln(x:3:1, y:10:3);
x := x + 0.2;
end;
end.
var
x, y: real;
begin
x := 1;
repeat
y := x * (x * x + 2);
Writeln(x:3:1, y:10:3);
x := x + 0.2;
until x > 3.01;
end.