โ† Infosys questions
CodingEasyReported in a candidate post, Dec 2020

Add natural numbers up to N in binary

Filed under Infosys

Write a program to calculate the sum of all natural numbers up to N, convert each number or the final sum into binary format, and evaluate the result.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Infosys questions

Collected from public candidate posts and coding forums. Updated Nov 2026.