create a stack of 10 elements. use two threads that access the stack pop()/top() function to print out elements sequentially (not in a random manner such that one element print out twice and the other is lost).

Respuesta :