Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!
можно по точней
var
i,j,s: integer;
x: array[1..8,1..8] of integer;
y: array[1..10,1..10] of integer;
begin
s: =0;
for i: =1 to 8 do
for j: =1 to 8 do
readln(x[i,j]);
if i< =j then s: =s+x[i,j];
end;
writeln("сумма для x=", s);
for i: =1 to 10 do
for j: =1 to 10 do
readln(y[i,j]);
if i< =j then s: =s+y[i,j];
writeln("сумма для y=", s);
end.
program mdd; uses crt; var a,b,c,d: longint; beginclrscr; readln(a,b,c,d); if (a> b) and (a> c) and (a> d) and (d< a) and (d< c) and (d< b) then writeln('правда')else writeln(''неправда); readkey; end.
Популярные вопросы