Ask Question
14 April, 10:38

If the intquantity and decprice variables contain the numbers 3 and 15.75, respectively, the condition if intquantity > 0 andalso intquantity 20 will evaluate to

+4
Answers (1)
  1. 14 April, 13:12
    0
    if intquantity > 0 andalso intquantity 20

    expression evaluates to

    (3>0 and 15.7520)

    which, using priority of operations, "and" has a higher precedence than "or",

    =>

    ((3>0 and 15.7520)

    =>

    (false or false)

    =>

    false
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “If the intquantity and decprice variables contain the numbers 3 and 15.75, respectively, the condition if intquantity > 0 andalso ...” in 📙 Mathematics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers