Given the following pseudocode, identify the line of code that is recursive.
```
1 Function Sum(N) As Integer
2 If N = 1 Then
3 Set Sum = 1
4 Else
5 Set Sum = Sum(N–1) + N
6 End If
7 End Function```
a. Line 1 b. Line 2 c. Line 3 d. Line 5 e. Line 7
D
Computer Science & Information Technology
You might also like to view...
A database is a collection of records that are used for decision making, for sales and marketing, and for reporting purposes
Indicate whether the statement is true or false
Computer Science & Information Technology
Visual Basic for Applications is a(n) ________ language
Fill in the blank(s) with correct word
Computer Science & Information Technology