somebody help me please!
Write the following C\C++ program:
Program starts two threads (from now onwards A and B).
Main program generates number N from range 5000 and 10000.
Number N is passed to thread A.
Threads A generates N random numbers from the range [1, 100].
Generated numbers are passed to thread B.
Thread B writes these numbers to a file. The user of the program is prompted in the main thread for the names of the file (path) number are to be written to. The name is passed to the thread B.
Each thread returns count of processed numbers to the main program. The massage showing both counts should be printed at last.
To control run of threads events mechanism should be used.
Identification numbers of the process and threads should be printed out.
The zipped project needs to be written in Eclipse-Galileo environment.