Question: List all the output from the following program segment. Show the reasoning you used in getting your answers. Sub translate () Dim a As Integer,
List all the output from the following program segment. Show the reasoning you used in getting your answers. Sub translate () Dim a As Integer, b As Integer, c As Integer, d As Integer a = 12 b = 10 c = 2 for d = b To c Step -2 If d Mod 3 = 0 Then a = a * d MsgBox ("At d = " & d & ", a = " & a) Else a = a - b End If Next d End Sub
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
