Question: HOMEWORK 2 1 : Recursive Triangle Number Write a function a recursive function that returns the triangle number of a given input, n . T

HOMEWORK 21: Recursive Triangle Number
Write a function a recursive function that returns the triangle number of a given input, n.
Tn=1+2+3+cdots+(n-1)+n
You must use recursion to get credit. A For-Loop or the formula are not allowed. (VBA)
\table[[TRIANGLE NUMBER],[n,500],[For Loop Function,],[Recursive Function,]]
 HOMEWORK 21: Recursive Triangle Number Write a function a recursive function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!