Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Public Class Form1
- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- Dim income As Integer
- income = Val(TextBox1.Text)
- Select Case income
- Case Is <= 300000
- Label4.Text = "6%"
- Label5.Text = income * 0.94
- Case Is <= 800000
- Label4.Text = "13%"
- Label5.Text = income * 0.87
- Case Is <= 2000000
- Label4.Text = "21%"
- Label5.Text = income * 0.79
- Case Is > 2000000
- Label4.Text = "30%"
- Label5.Text = income * 0.7
- End Select
- End Sub
- Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
- End
- End Sub
- End Class
Advertisement
Add Comment
Please, Sign In to add comment