-
mitaliisrani
- Senior | Next Rank: 100 Posts
- Posts: 56
- Joined: Sun Mar 21, 2010 11:06 am
mitaliisrani wrote:Is x + y > xy
1) x>0>y
2) |y| = x
This is a Yes/No DS question.
With 1) x>0>y
Case i) If y= -1 and x= 2 then x+y = 1 and xy=-2, So ans is Yes
Case ii) If y= -2 and x= 0.5 then x+y = -1.5 and xy=-1, So ans is No
With 2) |y| = x
Case i) If x= -1 and y= 1 then x+y = 0 and xy=-1, So ans is Yes
Case ii) If x= 0 and y= 0 then x+y = 0 and xy=0, So ans is No
With 1) x>0>y & 2) |y| = x
With both the conditions y = -x and y & are not zero So x+y= 0 and xy = -x^2
So always the ans is yes
So the ans is C












