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

Trending Topics

Online now

Members online
1,302
Guests online
3,645
Total visitors
4,947

Forum statistics

Threads
2,313,519
Posts
29,174,138
Members
1,184,748
Latest member
Zesto02020
Back
Top