Get Answers to all your Questions

header-bg qa

A pair of integers whose sum gives- a) an integer smaller than both the integers. b) an integer greater than both the integers.

Answers (1)

best_answer

\(a) \\ eginaligned &	ext If the sum of the two variables is smaller than both the integers, then \ &x+y<y 	ext  and  x+y<x\ &Rightarrow x<0 	ext  and  y<0 endaligned \\ 	extAccording to the above equations, both integers should be less than zero. \\ 	extlet us assume the integers -3, -4. \ 	extSum = -3 + (-4) = -7

 

\(b) \\ eginaligned &	ext If the sum of the two variables is greater than both the integers, then \ &x+y>y 	ext  and  x+y>x\ &Rightarrow x>0 	ext  and  y >0 endaligned \\ 	extAccording to the above equations, both integers should be greater than zero. \\ 	extlet us assume the integers 3, 6. \ 	extSum = 3 + 6 = 9

Posted by

Deependra Verma

View full answer