Thursday, June 12, 2008
Wednesday, June 11, 2008
FOR LOOP COMMANDS
THIS IS FIRST BUTTON
O.K
DIM A,B,C AS INTEGER
L1.ITEM.CLEAR()
B=T1.TEXT()
FOR A= 1 TO 10
C= A*B
L1.ITEMS.ADD(A & " * " & B & " = " & C)
NEXT
END SUB
THIS IS SECOND BUTTON
CLEAR
T1.TEXT()=""
L1.ITEMS.CLEAR()
The output willbe:
ENTER THE TABLE =5
5 * 1 =5
5* 2=10
5* 3=15
5* 4=20
5* 5=25
5* 6=30
5* 7=35
5* 8=40
5* 9=45
5* 10=50
THIS IS FIRST BUTTON (The Program is add,sub,multi,div)
ADD
DIM A,B,C,D,E,F AS INTEGER
A= T1.TEXT()
B=T2.TEXT()
C=A+B
T3.TEXT()=C
THIS IS SECOND BUTTON
SUB
A=T1.TEXT()
B=T2.TEXT()
D=A1-A2
T3.TEXT()=D
THIS IS THIRD BUTTON
MULTI
A=T1.TEXT()
B=T2.TEXT()
D=A1*A2
T3.TEXT()=E
THIS IS FOURTH BUTTON DIVIDE
ADD
DIM A,B,C,D,E,F AS INTEGER
A= T1.TEXT()
B=T2.TEXT()
C=A+B
T3.TEXT()=C
THIS IS SECOND BUTTON
SUB
A=T1.TEXT()
B=T2.TEXT()
D=A1-A2
T3.TEXT()=D
THIS IS THIRD BUTTON
MULTI
A=T1.TEXT()
B=T2.TEXT()
D=A1*A2
T3.TEXT()=E
THIS IS FOURTH BUTTON DIVIDE
DIV
A=T1.TEXT()
B=T2.TEXT()
C=A/B
T3.TEXT()=F
THIS IS FIFTH BUTTON CLEAR
T1.TEXT()=""
T2.TEXT()=""
VB.NET
THIS IS FIRST BUTTON (THE PROGRAM IS ADDTION)
O.K
DIM A,B,C AS INTEGER
A= T1.TEXT()
B=T2.TEXT()
C=A+B
T3.TEXT()=C
THIS IS SECOND BUTTON
CLEAR
T1.TEXT()=""
T2.TEXT()=""
T3.TEXT()=""
O.K
DIM A,B,C AS INTEGER
A= T1.TEXT()
B=T2.TEXT()
C=A+B
T3.TEXT()=C
THIS IS SECOND BUTTON
CLEAR
T1.TEXT()=""
T2.TEXT()=""
T3.TEXT()=""
Friday, June 6, 2008
THE SECOND PROGRAM IS
TABLE
NAME | CLASS | ROLLNO |
---|