Describe the two methods of evaluating logical expressions.
Discuss the advantages of partial evaluation over full evaluation of logical expressions.
Consider the following statement:
if ((X > 0) AND (X−Y > 0) AND ((X/Y)+(Z/(X−Y))
then
...
Suppose your compiler uses only full evaluation of logical expressions. Modify the
if statement so that it works without a problem for all values of X and Y.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here