Question: For the given input values of A and B, use the program to find the output values of X. LET C = A + B
LET C = A + B
IF ((A > 0) OR (B > 0)) AND (C > 0)
THEN LET X = 100
ELSE LET X = -100
(a) A = 2, B = 2
(b) A = 2, B = -2
(c) A = 2, B = -5
(d) A = -2, B = -5
(e) A = -5, B = 3
(f) A = -5, B = 8
Step by Step Solution
3.30 Rating (168 Votes )
There are 3 Steps involved in it
a A 2 0 and C 2 2 4 0 so the condition is met and X 100 b C 2 2 0 so t... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
1385-M-S-L-P(3230).docx
120 KBs Word File
