OKIEWARDOYO

VB.NET 01-2

Aug 2nd, 2012
14,111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.23 KB | None | 0 0
  1. Dim m_item, m_price, tax, total As double
  2. m_item = double.Parse(textBox1.Text)
  3. m_price = double.Parse(textBox2.Text)
  4. tax = 0.05
  5. total = m_item * m_price * (1 + tax)
  6. label5.Text = total.ToString()
  7. MessageBox.Show("Well Done.")
Advertisement
Add Comment
Please, Sign In to add comment