Conteo Usando Fornext While Do
Conteo Usando Fornext While Do
1 300 1 Ejecutar
Botton2
Texbox4
Total
End Sub
End Sub
End Sub
Dim A, B, C As Integer
A = 1
B = 200
C = A + B
For A = 1 To 200 Step 2
ListBox1.Items.Add(Str(A))
B = B + A
C = C + B
Next
TextBox1.Text = (Str(C))
TextBox2.Text = (Str(contador3))
TextBox3.Text = Str(cont3)
total1 = TextBox1.Text
total2 = TextBox2.Text
total3 = TextBox3.Text
resultado = total1 + total2 + total3
TextBox4.Text = Str(resultado)
End Sub
End Sub
End Sub
End Sub
ListBox1.Items.Clear()
TextBox1.Clear()
ListBox2.Items.Clear()
TextBox2.Clear()
ListBox3.Items.Clear()
TextBox3.Clear()
TextBox4.Clear()
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button3.Click
End
End Sub
End class