What’s the output of the following programs?

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter6: Looping
Section: Chapter Questions
Problem 3PE
icon
Related questions
Question
What’s the output of the following programs?
b)
Dim y As Integer
= 15
Dim x As Integer
= 0
Do
If y Mod 3 = 0 Then
TextBox1.AppendText (y & vbCrlf)
End If
X += 1
y -= 1
Loop While x <= y
Forml
Transcribed Image Text:b) Dim y As Integer = 15 Dim x As Integer = 0 Do If y Mod 3 = 0 Then TextBox1.AppendText (y & vbCrlf) End If X += 1 y -= 1 Loop While x <= y Forml
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT