Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
uses crt; var n,i: integer; a: array[1..1000] of integer; beginread(n); for i: =1 to n do read(a[i]); for i: =1 to n do beginif a[i]< 0 then a[i]: =abs(a[i]); for i: =1 to n do write(a[i],' '); end.
в не указан шаг изменения x , допустим он равен 1
var
x,y: real;
begin
x: =1;
while x< =10 do
y: =1/x-5;
writeln(y: 8: 2);
x: =x+1;
end;
end.
радиосвязь!
попов!
if(a> b) cout < < a;
if(a< b)cout < < b;
Популярные вопросы