Discrete Mathematics with Applications 4th Edition

Published by Cengage Learning
ISBN 10: 0-49539-132-8
ISBN 13: 978-0-49539-132-6

Chapter 2 - The Logic of Compound Statements - Exercise Set 2.3 - Page 62: 36

Answer

The program contains an undeclared variable.

Work Step by Step

1. There is not a missing semicolon and there is not a misspelled variable name. (by (c) and (d) and definition of ∧ ) 2. It is not the case that there is a missing semicolon or a misspelled variable name. (by (1) and De Morgan’s laws) 3. There is not a syntax error in the first five lines. (by (b) and (2) and modus tollens) 4. There is an undeclared variable. (by (a) and (3) and elimination)
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.