Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

VI . LOOPS ( REPETICION ) Favor de calcular la salida ( outputs ) de los siguientes 3 programas. Public Class Form 1 Private Sub

VI. LOOPS (REPETICION)
Favor de calcular la salida (outputs) de los siguientes 3 programas.
Public Class Form1
Private Sub Button1_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs)
For i As Integer =1 To 4
ListBox1.AddItems (2**i)
Next
End Sub
End Class
2. Public Class Form1
Private Sub Button1_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs)
Dim num As Integer
Dim i As Integer
num =6
For i= num To ( num -2) step -1
ListBox1.AddItems(i)
Next
End Sub
End Class
5. Public Class Form1
Private Sub Button1_Click(sender As
System.Object,) Handles Button1.Click
Dim T1 As Integer
Dim num As Integer
num =30
Do While num 50
num = num +10
T1=T1+ num
ListBox1.AddItems(num)
Loop
ListBox1.AddItems(T1)
End Sub
End Class
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books

Students also viewed these Databases questions