2
Answers

concatenate string[] array with int[] array

anand d

anand d

6y
510
1
HI,
 how to concatenate int[] arrayint = {1,2,3,4} with string[] array = {"a","b","c","d"}
I need output like
a-1
b-2
c-3
d-4
 
in console with total sum of arrayint[] should be printed as 10 
Answers (2)