Evaluate the following C++ expressions (assume x = -1, y = 2):
(i) x > y
(ii) x+y >= y
1
Expert's answer
2014-01-17T13:36:35-0500
Answer on Question 38425 – Programming – C++ Evaluate the following C++ expressions (assume x = -1, y = 2): (i) x > y is false, because -1 is less than 2 (ii) x+y >= y is false, because x+y=1 and 1 is less than 2
Comments
Leave a comment