Question #2019685: Other Algebra Problems


Question: What is the value of x after each of the following statements are encountered in a computer program, if x = 1 before the statement is reached. Explain fully.

(a) if 2 + 3 = 6 AND 3 + 4 = 7 then x:= x + 1

(b) if 2 + 3 = 6 XOR 3 + 4 = 7 then x:= x + 1

Solution: The solution consists of 126 words (1 page)
Deliverables: Word Document

Like it? Share with your friends!

0

log in

reset password

Back to
log in
Do NOT follow this link or you will be banned from the site!