How can i compare marks of two students and print them in the ascending order.
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.
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)
Please give us enough information to understand the problem so that we can give you useful answers.
*IF* only there was some way to compare things in programming languages.
Improving the world one idiot at a time!
can you please elaborate your problem??
you need post here code snippets