Is it possible to write a script in C++ that will take a input sentence " Now is the time for all good men to come to the aid of their country" . And sorted the sentence in alpha order (aid all come country for good is men now of the the their to to) As well check that the sentence is longer than 80 characters.
Thread 1 accepts the input
Thread 2 does the sorting and manipulation
Thread 3 deliver the output to the screen