August 2021 0 7 Report
Pascal, Должно быть матрица (таблица) а получается список. Что не так? program matric;
var
K: array[1..6,1..5] of integer;
i,j:integer;
begin
writeln;
for i:= 1 to 6 do
for j:= 1 to 5 do
if i=j then K[I,J]:=i+j
else if i>j then K[i,j]:=i*J
else K[i,j]:=9;
writeln('text');
for i:= 1 to 6 do
for j:= 1 to 5 do
writeln (K[i,j]);
readln;
end.
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Copyright © 2024 SCHOLAR.TIPS - All rights reserved.