I want to assign the random number in the integer threadArray array with the specified range.
In these code three task are given.