An application allows a user to enter an item price and a quantity to be used in a calculation. The item price may contain a decimal place, and the quantity will always be a whole number. 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 decItemPrice As Decimal
Dim intQuantity As Integer
Decimal.TryParse(txtItemPrice.Text, decItemPrice)
Integer.TryParse(txtQuantity.Text, intQuantity)
Computer Science & Information Technology