Write a program called Counter that reads numbers from the keyboard into an...

Marvel K

New member
...array of type int[]. You may assum? Note: You can ignore zeros in the input.

For the array

-12 3 -12 4 1 1 0 -12 1 -1 1 2 3 4 2 3 -12

N Count

-12 4

-1 1

1 4

2 2

3 3

4 2
 
Back
Top