October 2021 0 5 Report
Составить таблицу значений функции y = 5 - x2/2 на отрезке [-5; 5] с шагом 0.5. var
x, y: real;
begin
x := -5;
writeln(' x y ');
while x <= 5 do begin
y := 5 - x*x/2;
writeln(x:4:1,' | ',y:5:2);
x :=x + 0.5
end;
Объясните пожалуйста, writeln(x:4:1,' | ',y:5:2); что делает эта строка? Откуда эти делители? Для чего они нужны?
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Copyright © 2024 SCHOLAR.TIPS - All rights reserved.