I have an array of integers of x entries i.e: [1,2,3,4,1,2,3,4,4,3,3,3] how do I
ID: 3616754 • Letter: I
Question
I have an array of integers of x entries i.e: [1,2,3,4,1,2,3,4,4,3,3,3] how do I count the number of repeated entries and print it intabular form i.e N count 1 2 2 2 3 5 4 3
I have to use a counter array to do so, but i don't know howto to it.
I'm using the C programming language
[1,2,3,4,1,2,3,4,4,3,3,3] how do I count the number of repeated entries and print it intabular form i.e N count 1 2 2 2 3 5 4 3
I have to use a counter array to do so, but i don't know howto to it.
I'm using the C programming language