JonathanNemo
Member
*sigh*
I don't know how to do any of that.
Okay, start with the simplest thing.
You can probably check if a radio button for your burger was selected with
Code:
radBurger.Checked
So we can create a variable to hold our subtotal with
Code:
Dim varSubtotal As Double = 0.00
Then we can check that radio button and add to our subtotal as necessary.
Code:
If radBurger.Checked Then
varSubtotal = varSubtotal + 5.02
End If
Assuming that burger cost $5.02.
Hope that gets you started. Conditional statements, create variables, simple math with variables.
EDIT: A more clear way of declaring variables and setting their values would be this:
Code:
Dim varSubtotal As Double
varSubtotal = 0.00