title: Trying to average 10 numbers in VB.Net Can someone tell me why my code doesnt work?
body: <p>This code is supposed to collect 10 numbers in the form and calculate the average. When I pres the button for calculating nothing shows up. Why?
  *edit I just started programing today so I don't know much </p>
  
  <p>Public Class Form1</p>
  
  <pre><code>Public Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
  
  End Sub
  
  Public Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged
  
  End Sub
  
  Public Sub Label1_Click(sender As Object, e As EventArgs) Handles Label1.Click
  
  End Sub
  
  Public Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
      Dim TextBox1, TextBox2, TextBox3, TextBox4, TextBox5, TextBox6, TextBox7, TextBox8, TextBox9, TextBox10 As Integer
      Dim Calc As String
      Dim textbox11 As String
      Calc = TextBox1 + TextBox2 + TextBox3 + TextBox4 + TextBox5 + TextBox6 + TextBox7 + TextBox8 + TextBox9 + TextBox10 / 10
      TextBox11 = Calc
  
  
  End Sub
  
  Public Sub TextBox11_TextChanged(sender As Object, e As EventArgs) Handles TextBox11.TextChanged
      Dim TextBox1, TextBox2, TextBox3, TextBox4, TextBox5, TextBox6, TextBox7, TextBox8, TextBox9, TextBox10 As Integer
      Dim Calc As String
      Dim textbox11 As String
      Calc = TextBox1 + TextBox2 + TextBox3 + TextBox4 + TextBox5 + TextBox6 + TextBox7 + TextBox8 + TextBox9 + TextBox10 / 10
      textbox11 = Calc
  
  End Sub
  </code></pre>
  
  <p>End Class</p>