Hi everyone, first post yay! anyways im just trying to make a simple program that would have 3 text box (named: txt1, txt2,txt3) also with a button (named: Calculate). When i would click calculate, it would take the # from txt1 and divide it with the # in txt2, and would show the answer in txt3
so far i got this but its nothing
vb
Public Class Form1
Private Sub Calc_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Calc.Click
Dim velocity As Integer
Dim time As Integer
Dim txt1 As Integer
Dim txt2 As Integer
Dim txt3 As Integer
velocity = txt1
time = txt2
txt3 = velocity / time
End Sub
End Class
Also, let's say i change the formula around (let's i want to make the equation more complicated, is there any thing else i would need to change? or does it depend on what equation im trying to calculate for, like acceleration/force)
thanks any help is appreciated
Mod Edit: Please use code tags when posting your code. Code tags are used like so =>

Thanks,
PsychoCoder