Pergunta de entrevista da empresa SAP

print odd and even numbers using threads in sequential order