Solved–Bonus Assignment #2– Solution

$30.00 $19.00

Write a Java program to print 1000 random integers from 0 to 9, then counting the occurrence of each random integer. For instance, if the number 0 appears 300 times, 1 appears 250 times, so on, the program will output [0]: 300 [1]: 250 [2]: .. [3]: .. …. [9]:.. If your program produces an…

You’ll get a: . zip file solution

 

 

Description

5/5 – (2 votes)

Write a Java program to print 1000 random integers from 0 to 9, then counting the occurrence of each random integer. For instance, if the number 0 appears 300 times, 1 appears 250 times, so on, the program will output

[0]: 300

[1]: 250

[2]: ..

[3]: ..

….

[9]:..

If your program produces an output as the following graphics format, you will get 2 more points (total 5points).