I am making a code to calculate the total change from cash entered when I click the calculate button, I also need the number of 20s and 10 and 5s given back put in the label next to the corresponding number.

My code looks like



Private Sub btnCalculate_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles btnCalculate.Click
'declare local variables
Dim lblTwenty As Integer


End Sub

But it says intTwenty is an undeclared local variable when I named the label box next to 20 "lblTwenty"???