0/1 pts Question 1 How many times is the letter 'X' shown in the message box when start() is executed? 1 This forces the
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
0/1 pts Question 1 How many times is the letter 'X' shown in the message box when start() is executed? 1 This forces the
0/1 pts Question 1 How many times is the letter 'X' shown in the message box when start() is executed? 1 This forces the code to declare a variable before it can be use Option Explicit Dim MaximumDepth As Integer Dim AllText As String Sub Start() MaximumDepth AllText = = 2 RecursiveFunc 0 MsgBox AllText End Sub 'The recursive function Sub RecursiveFunc(Depth As Integer) AllText = AllText & "X" If Depth < MaximumDepth Then RecursiveFunc Depth + 1 RecursiveFunc Depth + 1 RecursiveFunc Depth + 1 End If End Sub nswered t Answers 13 with margin: 0)