Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim a As Double = TextBox1.Text Dim b As Double = TextBox2.Text Dim c As Double = TextBox3.Text If RadioButton1.Checked = True Then MsgBox(b * c) If RadioButton2.Checked = True Then MsgBox(a / c) If RadioButton3.Checked = True Then MsgBox(a * b)
End Sub End Class
hay 3 textbox, 3 radiobuttons y un boton quiero que cuando el usuario seleccione la primera radiobutton multiplique lo que esta en el textbox1 y el textbox3 pero me da un error que dice algo de las variables soy principiante ayúdenme porfavor