Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    14
    Views
    1,932

    Re: Help Me with my Program CompareTo!!!!

    Sorry that makes no sense.
    Why are you testing for equality? To sort you need to know if one value is less than another.

    My algorithm started with:
    if one is smaller than two

    Your names...
  2. Replies
    14
    Views
    1,932

    Re: Help Me with my Program CompareTo!!!!

    Time to learn how to program. First you think about the problem, then you design a solution and then you write code.
    For example here is a design in pseudo code to find and save the smaller of two...
  3. Replies
    14
    Views
    1,932

    Re: Help Me with my Program CompareTo!!!!

    Before you write any code, you need to design the logic for what the code is supposed to do, step by step.
    Have you done that? What are the steps you need to take to find the first string the lowest...
  4. Replies
    14
    Views
    1,932

    Re: Help Me with my Program CompareTo!!!!

    Before you write any code, you need to design the logic for what the code is supposed to do, step by step.
    Have you done that? What are the steps you need to take to find the first string.


    Your...
  5. Replies
    14
    Views
    1,932

    Re: Help Me with my Program CompareTo!!!!

    Can you show what your program prints out?

    Please wrap your code in code tags to preserve formatting. See: BB Code List - Java Forums

    if you don't know what the compareToIgnoreCase method is...
Results 1 to 5 of 5