🔒 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
  • 586
    Views
  • 6
    Participants
Last reply from:
mixunli

Trending Topics

Online now

Members online
1,081
Guests online
1,186
Total visitors
2,267

Forum statistics

Threads
2,273,926
Posts
28,952,459
Members
1,234,993
Latest member
skatstip
Back
Top