Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.11 seconds.

  1. Re: Help me check my assignment if it is correct.

    I'm not going to do your homework for you. Recommended reading: http://www.javaprogrammingforums.com/cafe/10753-how-program-stuck-homework-read-before-posting.html
  2. Re: Help me check my assignment if it is correct.

    That's going back to your original error. It doesn't make sense to use the < operator on an entire array.
  3. Re: Help me check my assignment if it is correct.

    Start small. How do you print out the value of an index of an array? How do you use an if statement? When you get both of those things working separately, then think about combining them.
  4. Re: Help me check my assignment if it is correct.

    That is not correct syntax for an if statement. Again, the basic tutorials are your best friend. The first result for a google search of "java if statements" will give you the correct syntax.
  5. Re: Help me check my assignment if it is correct.

    What happened when you tried each?
  6. Re: Help me check my assignment if it is correct.

    I recommend carefully going through that tutorial I linked for you.
  7. Re: Help me check my assignment if it is correct.

    It really depends on what you want to happen. You're trying to compare an entire array to a single number, which you can't do. So are you trying to compare the size of the array? A specific element?...
  8. Re: Help me check my assignment if it is correct.

    How are you planning on fixing the first error? Again, keep in mind that Java is case sensitive, and the standard naming conventions mean that class names should start with a capital letter.

    For...
  9. Re: Help me check my assignment if it is correct.

    Why not use an actual compiler?

    Check your capitalization and spelling. Java is case sensitive.
  10. Re: Help me check my assignment if it is correct.

    Have you tried compiling this?
Results 1 to 10 of 10