Дано:
N1= 4096
N2=64
x1y1=x2y2
Найти: V1/V2
Решение:
N=2^I
V= x*y*I
I1=12
I2=6
12/6=2
Ответ: в 2 раза
На тему погода.В твоём городе (каждый день заполнять базу данных).Любой сайт с погодой, например Гиметео
Язык....................................................
<span>#1
var a:array[1..4,1..3] of real;
i,j,k:integer;
begin
for i:=1 to 4 do begin
for j:=1 to 3 do begin
a[i,j]:=random(101)-50;
write(a[i,j]:3);
end;
writeln;
end;
for j:=1 to 3 do
if a[2,j] > 0 then
k:=k + 1;
writeln;
writeln(k);
end.
#2
var a:array[1..5,1..5] of real;
i,j:integer;
begin
for i:=1 to 5 do begin
for j:=1 to 5 do begin
a[i,j]:=sin(i) + cos(j);
write(a[i,j]:3:2, ' ');
end;
writeln;
end;
end.
#3
var a:array[1..3,1..3] of integer;
i,j,min:integer;
begin
for i:=1 to 3 do begin
for j:=1 to 3 do begin
a[i,j]:=random(101) - 50;
write(a[i,j]:4);
end;
writeln;
end;
min:=a[1,1];
for i:=1 to 3 do
for j:=1 to 3 do
if a[i,j] < min then
min:=a[i,j];
writeln;
writeln(min);
end.
#4
var a:array[1..4,1..4] of real;
i,j,k:integer;
begin
for i:=1 to 4 do begin
for j:=1 to 4 do begin
if i>j then
a[i,j]:=ln(j) - 1
else a[i,j]:=abs(j - 3*i);
write(a[i,j]:3:2, ' ');
end;
writeln;
end;
for i:=1 to 4 do
for j:=1 to 4 do
if a[i,j] < 0 then
k:=k + 1;
writeln;
writeln(k);
end. </span>