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 6 of 6

Thread: How can i compare marks of two students and print them in the ascending order.

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default How can i compare marks of two students and print them in the ascending order.

    How can i compare marks of two students and print them in the ascending order.


  2. #2
    Member Ada Lovelace's Avatar
    Join Date
    May 2014
    Location
    South England UK
    Posts
    414
    My Mood
    Angelic
    Thanks
    27
    Thanked 61 Times in 55 Posts

    Default Re: How can i compare marks of two students and print them in the ascending order.

    That sounds like a pretty standard operation. Depends if you
    are using Strings or numerical values - as the comparing operation
    for both types is not the same.

    Show/post what you have tried so far - along with any errors etc.

    Wishes Ada xx
    If to Err is human - then programmers are most human of us all.
    "The Analytical Engine offers a new, a vast, and a powerful language . . .
    for the purposes of mankind
    ."
    Augusta Ada Byron, Lady Lovelace (1851)

  3. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: How can i compare marks of two students and print them in the ascending order.

    Please give us enough information to understand the problem so that we can give you useful answers.

  4. #4
    Grand Poobah
    Join Date
    Mar 2011
    Posts
    1,545
    My Mood
    Grumpy
    Thanks
    0
    Thanked 167 Times in 158 Posts

    Default Re: How can i compare marks of two students and print them in the ascending order.

    *IF* only there was some way to compare things in programming languages.
    Improving the world one idiot at a time!

  5. #5
    Junior Member
    Join Date
    Sep 2014
    Location
    India
    Posts
    18
    My Mood
    Fine
    Thanks
    11
    Thanked 2 Times in 2 Posts

    Default Re: How can i compare marks of two students and print them in the ascending order.

    can you please elaborate your problem??

  6. #6
    Junior Member
    Join Date
    Sep 2014
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How can i compare marks of two students and print them in the ascending order.

    you need post here code snippets

Similar Threads

  1. HELP Please- Putting Digits within a number in ascending order
    By Java girl in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 21st, 2014, 01:46 AM
  2. Replies: 1
    Last Post: May 31st, 2013, 06:21 AM
  3. ascending order array
    By jamie1234 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 9th, 2013, 06:41 PM
  4. [SOLVED] students marks coding
    By muhammad93 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: March 18th, 2013, 07:43 PM
  5. organizing linkedlist in ascending order
    By mia_tech in forum What's Wrong With My Code?
    Replies: 7
    Last Post: June 9th, 2012, 06:44 AM

Tags for this Thread