Greetings fellow programmers!

I've got a slight problem i want you to help me with

I want to create a console application that can be started from the command prompt, with a
argument specifying how many threads to be created.
Each thread must print out their number, which
it gets when it is started, 10 times in a row, followed by new line.
This print is repeated as long as
a common stop-variable is set to "false". The main program that starts all the threads must
stop all the threads via the common stop variable when you press enter.

This is todays assignment for yall!

TIA

/Slobo