mardi 24 avril 2018

Random Numbers in Java and frequency

How do I convert a list of random numbers into an array form in java. Example:

1 5 3 8 9 1 5 7 8 4 2 1

How do I put this in an array and count the frequency for the number of times each number occurs?




Aucun commentaire:

Enregistrer un commentaire