Question: Programming language is C++ PA 10-4 (25 points) Write a program that fills an array of size 100 with 100 random integers, 0-9. Count how

Programming language is C++Programming language is C++ PA 10-4 (25 points) Write a program that

PA 10-4 (25 points) Write a program that fills an array of size 100 with 100 random integers, 0-9. Count how many time each integer appears in the array and display the results Hint: To keep the random numbers in your array from constantly changing, do not include the srand(time(O)); line in your program until it is running perfectly. Hint: You should need at least two arrays, one for random integers (size 100, [o199]) and one to keep track of number of occurrences (size 10, [O] -[9]), and use nested for loops. Don't forget to initialize arrays to 0 where applicable. EACodeBlocks-EP CodeBlocks-EP Ma O occurs 16 times 1 occurs 10 times 2 occurs 7 times 3 occurs 13 times 4 occurs 7 times 5 occurs 1 times 6 occurs 10 times 7 occurs 11 times 8 occurs 15 times 9 occurs 10 times

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!