Array Class
Assume that we have an array of integers with the name "IDs" and contain the following numbers:
10, -10, 100, 5, 100, 7, 8, 10, 10, 100, 25
1. ask the user to enter an id and delete it from the array.
example:
please enter an id:
20
sorry, the id not exists.
Another example:
please enter an id:
100
the id has been deleted.
2. find all the indexes of a repeated id
example:
please enter an id:
10
exists in places:
0
7
8