Hi can someone help me with this question please?
- In "setup" Create an array of 1000 random integers between 0 and 100. Also, in "setup" declare an array of bins or counters to find out how many integers fall into one of the 10 "bins" 0-9, 10-19, 20 -29, 30-39,.................90-99.
You now pass the two arrays to a function called "counter" which will count how many elements fall into each of the bins. When you return to "setup" print out the numbers in each bin.