GATE CS 2017, set 1 · Question 63 · General Aptitude · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

The expression ((x+y)-|x-y|)/2 is equal to

  1. (A) the maximum of x and y
  2. (B) the minimum of x and y
  3. (C) 1
  4. (D) none of the above
Answer

Answer (B)

Answer from the official GATE CS 2017 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes