1
Reply

recursive adding

Farhan Shariff

Farhan Shariff

Jan 13 2015 10:53 AM
679
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)