Var
i,s:integer;
mas : array [1..20] of integer;
begin
randomize ;
for i:=1 to 20 do
mas[i]:=random (100);
s:=0;
for i:=1 to 20 do
if mas[i] mod 5 = 0 then
s:=s+mas[i];
writeln('sum',s);
end.
Пн.A,B,C,D
вт.D,C,B,B,A
ср.A,A,A,C,B,D
чт.D,D,D,B,C,A
пт.A,B,A,A,D
A=9
B=6
C=4
D=7
1) 3%от 100см
100:100*3=3 см подрастает за год
2) 100+3=103 см рост через год
1-B
2-A
3-C
4-D
5-A
6-C
7-A
8-C
9-C
10-E
//PascalABC.NET 3.2 сборка 1318
<span>
</span>Const
n=7;
Var
ma:array[1..n,1..n] of integer;
countn,countp,i,j:integer;
sr:real;
begin
for i:=1 to n do
for j:=1 to n do
begin
readln(ma[i][j]);
if ma[i][j]>0 then inc(countp) else
if ma[i][j]<0 then inc(countn);
end;
for i:=1 to n do
begin
for j:=1 to n do
write(ma[i][j]:4);
writeln;
end;
writeln('Count of positive=',countp,', count of negative=',countn);
for j:=1 to n do
begin
sr:=0;
for i:=1 to n do
sr+=ma[i][j];
writeln(j,' ',sr/n);
end;
end.