Three thread problem for print and generation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Three thread problem for print and generation

Hi I have been asked to generate and print random numbers. These tasks are to be done in three different thread. One for generating , one for printing odd and one for printing even numbers. How to achieve the same ? I am getting confused and my trial is at below : https://code.sololearn.com/cGist6nVzm4E/?ref=app

29th Jun 2021, 5:07 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
1 Answer
0
Hi community , share your valuable input on this plz
7th Jul 2021, 7:43 AM
Ketan Lalcheta
Ketan Lalcheta - avatar