Ask Question
18 January, 01:45

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

+5
Answers (1)
  1. 18 January, 04:02
    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?
Find 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 you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers