โ† IBM questions
CodingEasy

Print numbers from 1 to n and n to 1 using recursion

Filed under IBM

Write recursive functions to print numbers sequentially from 1 up to n and in reverse order from n down to 1.

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

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