Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Array Problem
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
rahman200012




PostPosted: 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
Sponsor
Sponsor
Sponsor
sponsor
syntax_error




PostPosted: 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




PostPosted: 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: