The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 2 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
generate random numbers, and sort it in array, and show the frequency/ repeating for each number  and then show maximum frequency number and then draw bar graphÂ
Â
Write a C or C++ program,Generate a set of random number(integers) [from 0 to 5000].Store the number in an arrayCalculate frequency of each of the numbers that you have generated.show the maximum frequencyDraw a bar graphClarify some points in the quesTon:Example of frequency & maximum frequency: if we have these number 11, 101,8, 100,11, 90,11, 12, 11, 101, 110So11 frequency/ repeaTng 3 Tmes101 frequency 2 TmesOther 8,100, 12,110 so on frequency 1 TmeExample of the graph: let say random numbers are 11, 6, 201, 430, 61 and so onAnd 11 repeats 5 TmesAnd 6 repeats 15 TmesAnd 201 repeats 9 TmesAnd 430 repeats 2 TmesAnd 61 repeats 1 Tme±he graph6116120143021510015
Attachments:
-----------