Pregunta de entrevista de ST Electronics (Singapore)

How to apply multithreading to the code?