Page 188-189
- Dim name As Integer
Const price As Decimal = 20.00D - Dim height As Decimal
Dim weight As Integer - Miami = Convert.ToString(city)
- Dim sales1 As Decimal
Dim sales2 As Decimal
Dim totalSales As Decimal
totalSales = sales1 + sales2 - Dim salary As Decimal
salary = salary * 1.5 - Dim employeeName As Integer
- N/A
- N/A
You will need to enter this in the sub of both buttons. This variable is module level. - isConverted = Integer.TryParse(unitsTextBox.text, NumberFormatInfo.CurrentInfo, numberOfUnits)
- N/A
- N/A
- N/A
- N/A
- N/A
- A procedure level variable that retains its value when the procedure ends.
Page 260
- N/A
- N/A
- N/A
- N/A
- N/A
- N/A
- If carTextBox.Text = "Grand Am" Then carMakeLabel.Text = "Pontiac" Else carMakeLabel.text = ""
End If - If units < 0 Then messageLabel.Text = "Entry error" Else messageLabel.Text = "Valid Number"
End If - If quantity < 10 Then messageLabel.Text = "Reorder" Else messageLabel.Text = "OK"
End If - N/A
- N/A
- N/A
- If hours > 40 Then gross = ((hours - 40) * 1.5D)) + (hours * hourRate) Else gross = hours * hourRate
End If
grossLabel.Text = Convert.ToString(gross)