Const n=7;
Var i:Integer ;
A:array [1..n]of Integer ;
Begin
For i:=1 to N do begin
A[i]:=random(13)+2;
Write(' A[', i, ']=', a[i]) ;
End;writeln;
If a[i] mod 2=0 then A[i]:=a[i]+3;
Write (' A[', i, ']=', a[i]) ;
End;
End.
Const n=7;
Var i:Integer ;
A:array [1..n]of Integer ;
Begin
For i:=1 to N do begin
A[i]:=random(13)+2;
Write(' A[', i, ']=', a[i]) ;
End;writeln;
For i:=1 to N do begin
If a[i] mod 2=0 then A[i]:=a[i]+3;
Write (' A[', i, ']=', a[i]) ;
End;
End.