Search:

Type: Posts; User: metanoia

Search: Search took 0.18 seconds.

  1. Re: Hey guys, my While loop isn't working correctly.

    Well, that completely broke my program. It executes "Would you like to buy a ship?" and "What is the name of the ship?" at the same time, not taking any input for "Would you like to buy a ship?". ...
  2. Re: Hey guys, my While loop isn't working correctly.

    Using the string.toLowercase() thing is a good idea, I'll do that.

    And my loop is still broken. Guess I'll completely rework the main class.

    If anybody has anything else to contribute, I'll...
  3. Re: Hey guys, my While loop isn't working correctly.

    I'm not actually sure how I would do that. I need the user to input "Yes", "yes", "Y", or "y" to continue, so how would I make that into a true/false condition?

    Or could I throw an If statement...
  4. Hey guys, my While loop isn't working correctly.

    Okay, I attached the program specifications. Basically, I need to make a "salesman" program selling rocket ships. My problem is that the while loop isn't working correctly.

    It runs, but when it...
Results 1 to 4 of 4