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...
Type: Posts; User: DarkestLord
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...
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...
...
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...
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...
Uhhh how would I go about this? ^^;
Could you give me an example? I'm still learning things like this.
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...