anand d

anand d

  • NA
  • 93
  • 3.3k

concatenate string[] array with int[] array

Nov 13 2018 11:52 AM
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)