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

Trending Topics

Online now

Members online
1,113
Guests online
1,588
Total visitors
2,701

Forum statistics

Threads
2,285,243
Posts
29,028,588
Members
1,219,354
Latest member
kukimonster
Back
Top