Farhan Shariff

Farhan Shariff

  • NA
  • 933
  • 241.6k

recursive adding

Jan 13 2015 10:53 AM
considering interger list 
i want recursive function for the list adding all elements except the last element
 
example
 
a[1,2,3,4,5] 
 
 
output
a[10,5]
 
 
 
 

Answers (1)