Const
N = 13;
Var
A:array[1..N] of real;
i:integer;
Begin
Write('Исходный массив A(',N,'): ');
For i:= 1 to N do
Begin
A[i]:=random*100;
Write(A[i]:0:3,' ');
End;
WriteLn;
Write('Выходной массив A(',N,'): ');
For i:= 1 to N do
Begin
if i mod 2 <> 0 then A[i]:=Trunc(A[i]);
if i mod 3 = 1 then A[i]:=Frac(A[i]);
Write(A[i]:0:3,' ')
End
End.