ReasoningHardSSC CGL · IBPS PO Mains · SBI PO

A three-digit number is coded by this rule: if the first digit is greater than the last, the first and last digits are interchanged; otherwise 2 is added to the middle digit. What is the code for 817?

  1. A. 178
  2. B. 718
  3. C. 928
  4. D. 828

Correct answer: B. 718

For 817 the digits are 8, 1, 7 (sum 16). Checking the condition picks one branch of the rule and gives 718.

हिंदी में

एक तीन अंकों की संख्या इस नियम से कूटबद्ध की जाती है: यदि पहला अंक अंतिम अंक से बड़ा है तो पहले और अंतिम अंक आपस में बदल दिए जाते हैं; अन्यथा बीच वाले अंक में 2 जोड़ा जाता है। 817 का कूट क्या होगा?

  1. A. 178
  2. B. 718
  3. C. 928
  4. D. 828

उत्तर: B. 817 के अंक 8, 1, 7 हैं (योग 16)। शर्त की जाँच नियम की एक शाखा चुनती है और 718 देती है।

More Coding–Decoding questions

Exams that ask this topic