Write Java Program Using Count Array Generate 200 Random Integers Range 0 999 Inclusive F Q37049541

Write a Java program using a count array to generate 200 randomintegers in the range of 0 and 999 (both inclusive). Then find theappearance frequency of each digit (0-9) in these numbers, andprint a frequency histogram.

When you split an integer, make sure you get all 3 digits. Forexample:

number digit1 digit2 digit3

350 3 5 0

45 0 4 5

8 0 0 8

For each digit from 0 to 9

* Display the digit and the frequency count

* Display the horizontal frequency bar of asterisks, forexample, digit 6 with a frequency count 24 will display a bar likethis

6 (24): ***********************

Everytime the program runs it should

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.