Create a program that will accept 20 numbers and arrange them in ascending order. The program should determine the distinct numbers and the number of occurrences for each number (or the frequency). Display the supplied values, the distinct numbers and the frequency of each distinct numbers.
Your program should use three arrays that will hold the entered numbers, distinct numbers, and the frequency, respectively.
Use the following numbers in your first run:
1 37 25 1 56 8 6 9 11 8 54 56 20 25 1 8 6 20 56 56
Enter 20 numbers:
1
37
25
1
56
8
6
9
11
8
54
56
20
25
1
8
6
20
56
56
Your entered numbers are:
20 37 25 1 56 8 6 9 11 23 54 56 20 25 1 8 56 20 56 56
Distinct Number Frequency
1 3
37 1
25 2
56 4
8 3
6 2
9 1
11 1
54 1
20 2
please give me a hand on this one, i've done the arranging thing, i just a hint on how can i do the rest, please help me, just clues please . . .