Random Integers are uniformly distributed within a range of values. Write a program that uses simulation to see whether the units digits of the random numbers are uniformly distributed. Begin by declaring count as a 10-element array of integers. Using a loop, generate one million random integers in the range from 0 to 99,999. For each value, extract the units digit(value %10), and increment the corresponding value in the array. Output the array values as a ration to one million.
The output should look like this:
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
4) Answer any questions I have and correct any mistakes.
Windows XP using a C++ compiler