I need to write a java program for class that is blowing my mind.
It needs to prompt the user (using the attached text inputting class) for an arbitrary number of nonnegative integers, and read them into an array until the value -1 is reached. Like this:
**234 6 543 6 23 1 23 6 34 -1**
...should create an array of length 9 with those values stored within.
Then, I need to [login to view URL]("The contents of the array are: " + array values);
And also print to screen any entries that appear in the array more than once:
**The following entries appear more than once: 23(2), 6(2)**
Make sense? The problem that has had me stumped for hours is how to initialize the array length and where. This should be done ONLY using an array, and no other classes besides the TextInput class I have attached, which has methods like readLine(), readInt() and readToken().
This is primarily a "rating" project, since I can't afford a lot, but if you help you'll get a nice rating as a Java programmer for your numbers.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
## Platform
java
## Deadline information
View the attached [login to view URL] class. This is what I have installed in the JSDK I am using. Please write the code with that in mind, thank you.