🔒 Closed Visual basic

Status
Not open for further replies.
Meron kang code sa calc?
x = CInt(TextBox1.Text)
y = CInt(TextBox2.Text)

Add(Button)
Label4.Text = (x + y)

Sub(Button)
Label4.Text = (x - y)

Mult (Button)
Label4.Text = (x * y)

Div (Button)
Label4.Text = (x / y)

Exponent(Button)
Label4.Text = (x ^ y)
 
Status
Not open for further replies.

About this Thread

  • 11
    Replies
  • 616
    Views
  • 6
    Participants
Last reply from:
mixunli

Online now

Members online
1,030
Guests online
5,808
Total visitors
6,838

Forum statistics

Threads
2,349,290
Posts
29,361,616
Members
1,091,010
Latest member
xtngasgo
Back
Top