← Cisco questions
CodingReported in a candidate post, Nov 2020

Print odd-even with two threads

Filed under Cisco

Write a program using two threads to print numbers from 1 to 100, where one thread prints odd numbers and the other prints even numbers.

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

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