From what I remember, you'd add three text boxes
Then you can get the value using something like (maybe you know this). The autocomplete/intellisense should help u out when you type the button name and a period:
text1.value
text2.value
text3.value
In the form, add a button in the IDE, then double click onthe button. That should bring u to a code screen, with a function (they call it a sub)
Something like
sub button1_dblclick()
calculate_cost(text1.text, text2.text, text3.text)
end sub
' you create a sub (short for subroutine)
' rubric says to create this sub routine
sub calculate_cost(pizza, fries, drink)
do calculations
end sub
I'm rusty on VB, but itll be something like that...I started programming with VB sooo long ago haha