Write a program that hardcodes N and then computes the average (the arithmetic mean) of N integers selected from [0,1000]. This program should run 10 times, and thus provide 10 results.
You should use an outer loop that runs the inner loop (the one which computer the mean) a total of 10 times, printing out the 10 results, one per line.