Search:

Type: Posts; User: DarkestLord

Search: Search took 0.09 seconds.

  1. Replies
    13
    Views
    1,301

    Re: Boolean Method Problem

    Ahhh...but...what makes them new? They are called the same thing in each question? I tried removing "boolean" in front of the question variables, but the problem remains. Is it something else that...
  2. Replies
    13
    Views
    1,301

    Re: Boolean Method Problem

    OK, updated the detector and the test...

    Currently the program is still telling me the item is cursed no matter what though. I think the problem is in the test, but I'm not sure what it is...
    ...
  3. Replies
    13
    Views
    1,301

    Re: Boolean Method Problem

    OK, this IS the problem. It's connected to the input somehow. If I do true, true, true, true, true, the fifth "true" for "Summons Monsters" is always true, which means the item is always cursed. I...
  4. Replies
    13
    Views
    1,301

    Re: Boolean Method Problem

    Oh! I wasn't familiar with &&! Thanks! The program still isn't working, but this is very helpful!

    Hmmm...the only other thing I can think of is the way I coded the test. When I call the method, I...
  5. Replies
    13
    Views
    1,301

    Re: Boolean Method Problem

    Uhhh how would I go about this? ^^;



    Could you give me an example? I'm still learning things like this.
  6. Replies
    13
    Views
    1,301

    Boolean Method Problem

    I'm writing a program called Curse Detector. The idea is that you answer 5 questions and this program tells you if an item is cursed.

    The item is cursed if:
    1) The item adds +6 or less to the...
Results 1 to 6 of 6