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 |
|
|
|
|
|
Sponsor Sponsor
|
|
|
syntax_error
|
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 |
|
|
|
|
|
Tony
|
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. |
|
|
|
|
|
|