You are not logged in.
Pages: 1
hi there I'm using Visual Studio 2005(visual Basic)
I'll tell you some codes
sqrt of number
math.sqrt("number")
we can insert one textbox with name txtnum
and in code to write thisdim n as integer n = val(txtnum.text) msgbox(math.sqrt(n))
Adding number
insert to textboxes 1.txtnum1 , 2. txtnum2dim a,b as integer a = val(txtnum1.text) b = val(txtnum2.text) msgbox(a+b)
Subtracting Numbers
insert to textboxes 1.txtnum1 , 2. txtnum2dim a,b as integer a = val(txtnum1.text) b = val(txtnum2.text) msgbox(a-b)
Subtracting Numbers
insert to textboxes 1.txtnum1 , 2. txtnum2dim a,b as integer a = val(txtnum1.text) b = val(txtnum2.text) msgbox(a-b)
Multiplying Numbers
insert to textboxes 1.txtnum1 , 2. txtnum2dim a,b as integer a = val(txtnum1.text) b = val(txtnum2.text) msgbox(a*b)
Dividing Numbers
insert to textboxes 1.txtnum1 , 2. txtnum2dim a,b as integer a = val(txtnum1.text) b = val(txtnum2.text) msgbox(a/b)
Squaring Numbers
insert to textboxes 1.txtnum1 , 2. txtnum2dim a,b as integer a = val(txtnum1.text) b = val(txtnum2.text) msgbox(a^b)
have a nice day
live your day
Mitrovica My City
tenth a class
Offline
Pages: 1