дан массив из 8 элементов все его элементы увеличить в 2 раза
var a:array [1..100] of real;i,n:integer;Begin n:=8; for i := 1 to n do begin read(a[i]); a[i]:= a[i]*2;
end; for i:= 1 to n do write(a[i],'' );End.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
var a:array [1..100] of real;
i,n:integer;
Begin
n:=8;
for i := 1 to n do begin
read(a[i]);
a[i]:= a[i]*2;
end;
for i:= 1 to n do
write(a[i],'' );
End.