May I ask why the answer is 13?
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)
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
-
answerhappygod
- Site Admin
- Posts: 899604
- 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!