1. Engineering
  2. Computer Science
  3. c code please show output...

Question: c code please show output...

Question details
C++ code please show output
You are to write a program to check out how good is Cts random number generator. A good generator produces evenly distributed numbers over some range. You are to determine how well these numbers are dispersed between I and 100 You are to generate 20,000 random numbers between 1 and 100 and count how many times each number is produced. From this test you are to produce several results. a. Determine the average random number produced and its standard deviation. b. Determine which number(s) was generated the most often. Need to know which random number was produced if more than one, show all. most often (the count) and c. Determine which number(s) was generated the least often. Need to know which random number was produced if more than one, show all least often (the count) and Restrictions: Must use array(s). Must use functio The main program cannot have any array operators [ in the code. No array can be used in a global scope
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution