Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void button1_Click(object sender, EventArgs e)
- {
- var income = decimal.Parse(textBox1.Text);
- if ( income > 0 && income < 9999 )
- {
- income = income + 77;
- customLabel.Text = income.ToString();
- }
- else if (income >= 10000 && income <= 99999)
- {
- income = income * 3;
- customLabel.Text = income.ToString();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement