Array Problem
Author |
Message |
rahman200012
|
Posted: Mon Jan 07, 2008 9:34 pm Post subject: Array Problem |
|
|
Can anyone please help me answer this problem? Bare in mind I have limited knowledge in Java and I am using an older version (c.println, c.readInt ();, etc ,etc). Here's the problem:
1) I want to make a program that obtains a series of numbers from a user ending in -1, up to a max of 100 numbers. The program then reports if there were any duplicate numbers in the list.
Any help would be greatly appreciated ![Laughing Laughing](http://compsci.ca/v3/images/smiles/icon_lol.gif) |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
syntax_error
![](http://compsci.ca/v3/uploads/user_avatars/196798963948cf16794b6e5.jpg)
|
Posted: Mon Jan 07, 2008 9:50 pm Post subject: Re: Array Problem |
|
|
a) your not really using an old version of java more of RTP
I am presuming because of the c console
b) first check the tut area before asking a question
c) here
d) further question/ clarification ask |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Mon Jan 07, 2008 9:58 pm Post subject: RE:Array Problem |
|
|
to follow up on syntax_error's post -- if you are using Ready To Program, you must explicitly state so. Every time.
If core Java's version is of importance, you've got to state it's numerical version -- 4, 5, or 6. Consult your compiler to find out which one it is. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
|
|