
Hi...
I need to solve the following question:
Input an array of 10 integers. Separate the odd numbers, even numbers, positive numbers and negative numbers by different threads.
I tried to solve it but I dont know how can we declare an array on thread.. where we add the brace [ ] and how we send an array element to main method????!!!
Pls help as soon as possible... Thanx a lot in advance
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.