ПМ
Павел Мальков
x*x + 3*x - 7 к примеру.
так и будет
y:=x*x+3*x-7
y:=x*x+3*x-7
Смотрите пример на Delphi:
uses System.SysUtils,math; // math обязателен для power
var:
x:integer;
y:single;
begin
write('vvedite x: '); // ввести x
readln(x);
writeln;
y:=power(x,2)+3*x-7;
write(y);
writeln;
write("vvedite lyuboe chislo i nazhmite enter dlya vyixoda")
readln(x);
end.