Solved

A Selection Structure's True Path Should Calculate the Ending Inventory

Question 7

Multiple Choice

A selection structure's true path should calculate the ending inventory value only when the price entered by the user can be converted to a number.Which statement will return a Boolean value of True and store it in blnPriceOK if the number can be converted?


A) dblPrice.Text = Double.TryParse(txtPrice.Text, dblPrice)
B) blnPriceOK = Double.TryParse(txtPrice.Text, dblPrice)
C) blnPriceOK = Double.TryParse(dblPrice, txtPrice.Text)
D) dblPrice.Text = Double.TryParse(blnPriceOK.Text)

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions