flyboy1565
New member
- Joined
- Jun 3, 2010
- Messages
- 2
- Programming Experience
- Beginner
creating a program to do nightly count out. having trouble can someone help this beginner.
Dim pen, nic, dime, quat, ones, fives, tens, twenties, fifties, hundred As Integer
Const pennies As Decimal = 0.01
pen = Val(tbp.Text) * Val(pennies)
nic = Val(tbn.Text)
dime = Val(tbd.Text)
quat = tbq.Text
ones = tb1.Text
fives = tb5.Text
tens = tb10.Text
twenties = tb20.Text
fifties = tb50.Text
hundred = tb100.Text
MessageBox.Show(pen)
MessageBox.Show(pennies)
MessageBox.Show(dime)
of course this is very bad i'm sure any help will do!
thanks
Dim pen, nic, dime, quat, ones, fives, tens, twenties, fifties, hundred As Integer
Const pennies As Decimal = 0.01
pen = Val(tbp.Text) * Val(pennies)
nic = Val(tbn.Text)
dime = Val(tbd.Text)
quat = tbq.Text
ones = tb1.Text
fives = tb5.Text
tens = tb10.Text
twenties = tb20.Text
fifties = tb50.Text
hundred = tb100.Text
MessageBox.Show(pen)
MessageBox.Show(pennies)
MessageBox.Show(dime)
of course this is very bad i'm sure any help will do!
thanks