|
It Is Given two arrays À and  on N integer element. Form and bring on screen array L from 2*N element: L= ( A (1)+B (1), A (1)-B (1), A (2)+B (2), A (2)-B (2), , A ( N )+B ( N ), A ( N )-B ( N ) ).
Importances À and N are entered with keyboards, N does not exceed 100. The Array B are entered with keyboards. If it is entered N more 100, or N smaller or equal zero, that performing the program must stop.
Input given: amount array element, array
Output given: array
Example input data
4
0
0
0
0
4
0
6
3
Example output data
4 -4 0 0 6 -6 3 -3
|