help me i don't know what
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
help me i don't know what
Hi Fordy252,
I can't open your file.
Bye
Please provide more details - error messages, expected and observed output, along with the source code in the post itself (between the [highlight=java][/highlight] tags). And...recommended reading: How To Ask Questions The Smart Way
Your break statements will exit the for loops prematurely.
if (num == distinct[x])
At this point, distinct[x] is emtpy for all indexes in the array.
I can't open your file.........
distinct array is empty man!
This thread is ancient. Please check the dates, and if the oldest response in the thread is >1 month, it's essentially dead. There may be a reason to revive it, but they are rare.
Otherwise, welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.
Thread closed.