You are on page 1of 2

07

Integer ()1512999-44-21498
Double ()1.01.12.324148.345234-1231.2323231
String () abcdJohn & Mary 12 34.2 (
)

()

1. _
2. _
3.
4. VB Dimasifeelse
5.
()

1.
Dim () as (String, Integer, Double)
Dim name as String ( name String )
Dim age as Integer ( age )
2.
=
name = John ( John name )
age = 23 ( 23 age )
3.

TextBox2.Text = age ^ 2 ( TextBox2 Text age ^ 2
)
4.

i = TextBox2.Text

( i TextBox2.Text)


#1

Tex
xtBox

1
TextBox
x1
i

Text
tBox1

TextBox1

Button1

TextBox2

3
i

TextBox2
TextBox2
T

2
Te
extBox2

TextBox1

Public
P
Cla
ass TextSw
wap
Privat
te Sub But
tton1_Clic
ck(ByVal s
sender ....... Hand
dles Butto
on1.Click
__
___________
___________
___________
___________
___________
________ i
(Strin
ng)
__
___________
___________
___________
___________
___________
________ 1
__
___________
___________
___________
___________
___________
________ 2
__
___________
___________
___________
___________
___________
________ 3

End Su
ub
End
E
Class

(
TextSw
wap2)

TextBox
Tex
xtBox

#2

(ax2 + bx + c = 0)

TextBo
ox

(
(quadra
atic)
delta
a >= 0

del
lta

x1x2
2
x1x2

TextBox

x1x2

x1x2

(no solu
ution)

You might also like