Hey guys I am working on a producer and consumer problem where a producer will produce 5 random numbers and put it on a global array and a seperate consumer function will the numbers of the global array and print them. I am having a problem with putting the elements on the global array because everytime I run it, it inserts the same numbers continuously. I am hoping someone can help me fix it so each random number is different. Thanks in advance.