1
Answer

recursive adding

Photo of Farhan Shariff

Farhan Shariff

10y
1.1k
1
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)