87.7k views
2 votes
Find the sum of the values ​​from one to ten using recursion

1 Answer

2 votes

Answer:

see picture

Step-by-step explanation:

The result is 55, which can also be verified using the formula:

(n)(n-1)/2 => 10*9/2 = 55

Find the sum of the values ​​from one to ten using recursion-example-1
User Payer Ahammed
by
5.0k points