Program dlksjijh; var A: array [1..40] of integer;
i:integer;
begin
writeln('исходные значения: ' );
for i:=1 to 40 do
begin
A[i]:=random(21);
write(A[i], ' ');
end;
writeln;
writeln('преобразованный массив:')
for i:= 1 to 40 do
begin
if A[i] mod 2 = 0
then A[i]:=round(A[i]/2)
else A[i]:=A[i]*3;
write(A[i], '' );
end;
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.