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.

Results 1 to 4 of 4

Thread: Need Help PLS

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Need Help PLS

    Write an application that inputs five numbers, each of which is between 10 and 100, inclusive. As each number is read, display it only if it is not a duplicate of a number already read. Provide for the “worst case,” in which all five numbers are different. Use the smallest possible array to solve this problem. Display the complete set of unique values input after the user inputs each new value.

    Sample Output:

    Enter number: 11 11

    Enter number: 85 11 85

    Enter number: 26 11 85 26

    Enter number: 11

    11 has already been entered 11 85 26

    Enter number: 41 11 85 26 41


  2. #2
    Member
    Join Date
    Feb 2013
    Location
    earth
    Posts
    88
    Thanks
    12
    Thanked 9 Times in 9 Posts

    Default Re: Need Help PLS

    [removed for spoonfeeding]

  3. The Following User Says Thank You to javaiscool For This Useful Post:

    HeavySky (October 29th, 2013)

  4. #3
    Junior Member
    Join Date
    Oct 2013
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Need Help PLS

    Thanks bro you just saved me

  5. #4
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Need Help PLS

    @javaiscool Please don't spoonfeed answers. Please read: The problem with Spoon Feeding

Similar Threads

  1. Pls help
    By avi11 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 21st, 2013, 04:43 AM
  2. Help Pls..
    By shen_punkz21 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: January 28th, 2013, 12:41 PM
  3. pls.pls.pls.help with this
    By izzahmed in forum What's Wrong With My Code?
    Replies: 8
    Last Post: October 25th, 2011, 11:30 AM
  4. Pls Help
    By randika11 in forum JDBC & Databases
    Replies: 3
    Last Post: July 20th, 2010, 05:52 AM
  5. pls help me
    By sandeep_636338fae in forum Java Theory & Questions
    Replies: 1
    Last Post: January 4th, 2010, 04:03 PM