Enter 20 integers:  


array1: 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
... initializing array2 ...  

array2: 
34
37
28
16
44
36
37
43
50
22
13
28
41
10
14
27
41
27
23
37
second highest from array1 is: 19
second highest from array2 is: 44

inner product is: 6119

