If radPackageA.Checked = True Then
dblAmountDue = 9.95
If (dblHoursUsed > 10) Then
dblAmountDue = 9.95 + (dblHoursUsed - 10) * 2.0
End If
lblTotalAmountDue.Text = CStr(dblAmountDue)
ElseIf radPackageB.Checked = True Then
dblAmountDue = 14.95
ElseIf (dblHoursUsed > 20) Then
dblAmountDue = 14.95 + (dblHoursUsed - 20) * 1.0
If radPackageC.Checked = True Then
dblAmountDue = 19.95
Else(nonprofit) Then
dblAmountDue = dblAmountDue * decDiscountRate
End If
' Display the amount due.
lblTotalAmountDue.Text = CStr(dblAmountDue)
End If
The only spot your adding any info back to a label is in the first part of that If statement where radPackageA.Checked = True or if A & B are both not check and Hours are greate then 20