Placement AptitudeHardTCS NQT · Infosys

How many integers from 1 to 1000 have digits that add up to 9?

  1. A. 45
  2. B. 54
  3. C. 55
  4. D. 66

Correct answer: C. 55

Write the numbers 1–999 as three-digit strings abc: a + b + c = 9 has C(11, 2) = 55 solutions, none needing a digit above 9, and 000 is not among them. 1000 has digit sum 1. So 55.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic