CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Get top scores

  1. #1
    Join Date
    Jul 2010
    Posts
    2

    Get top scores

    Hi,

    I'm doing a program in java which will get the top scores of the students.
    Example.
    StudentA = 90
    StudentB = 80
    StudentC = 90
    StudentD = 70

    This will return StudenA and StudentC as a top score.
    How can I do this in java to return the result in java List?

    Can anyone can help me to solve this or give me sample source code?It would be greatly appreciated.

    Regards,

  2. #2
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: Get top scores

    Can anyone can help me to solve this
    Yes, if you show us what you have done so far and explain clearly where you are stuck we will help.
    or give me sample source code
    No, we don't do peoples homework for them.
    Posting code? Use code tags like this: [code]...Your code here...[/code]
    Click here for examples of Java Code

  3. #3
    dlorde is offline Elite Member Power Poster
    Join Date
    Aug 1999
    Location
    UK
    Posts
    10,163

    Re: Get top scores

    Cross-posted in Java Programming Forums

    If this 'pogi' is you, peter1984, be aware that cross-posting without providing a link to the other forums where you've posted that question is considered very poor form, and is likely to get you on ignore lists.

    People don't like to waste their freely given time and trouble on questions that may already be answered elsewhere.

    Data is not information, Information is not knowledge, Knowledge is not understanding, Understanding is not wisdom, Wisdom is not truth, Truth is not beauty, Beauty is not love...
    Gary Schubert/Frank Zappa/Cliff Stoll
    Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.

  4. #4
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: Get top scores

    Cross-posted in Java Programming Forums
    Not another one. It would appear that every other thread started in the last month has been cross posted.
    Posting code? Use code tags like this: [code]...Your code here...[/code]
    Click here for examples of Java Code

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured