logo

Crowdly

[ Average expected time to solve this question: 5 min] Build a table with the ...

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

[Average expected time to solve this question: 5 min]

Build a table with the value for all the variables (during the execution of the following code) and mark all outputs.

Sub

Start will be called first. Do it first on paper and then copy it here.

Sub Start()

Dim A As String, B As Integer

B = 5

A = "REVOLUTION"

DoIt B, A

MsgBox A & B

End Sub

Sub DoIt(ByVal X As Integer, ByRef S As String)

Dim SA As String

SA = ""

Do While X >= 1

 If X Mod 2 = 0 Then

  SA = Mid(S, X, 1) & SA

 End If

 X = X - 1

Loop

S = SA

End Sub

Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.lisboa.ucp.pt?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!