โ† Cognizant questions

Find Numbers Divisible by 5 in a Given Range

Filed under Cognizant

Given a lower bound and an upper bound (inclusive), find and return all integers within that range that are divisible by 5.

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 Cognizant questions

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