An application allows a user to enter an employee code, a salary amount, and a bonus rate to be used in a calculation. The salary amount will always be a whole number, and the bonus rate may contain a decimal place. Write the appropriateDimstatements to declare the variables. Write the related statements needed to convert the strings entered by the user into numeric data types.
What will be an ideal response?
Dim strCode As String
Dim intSalary As Integer
Dim decBonusRate As Decimal
Integer.TryParse(txtSalary.Text, intSalary)
Decimal.TryParse(txtBonusRate.Text, decBonusRate)
Computer Science & Information Technology