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>
Не скачивать вредоносные антивирусные программы, регулярно чистить компьютер от пыли, следить за перегревом, играть только на официальных серверах майнкравта, протирать монитор 1 раз в неделю.
CLS INPUT "N"; N DIM A(N) FOR I = 1 TO N INPUT "A"; A(I) NEXT FOR I = 1 TO N IF A(I) / 2 <> INT(A(I) / 2) THEN sum = sum + A(I) ^ 2 END IF NEXT PRINT sum