Search:

Type: Posts; User: ye1219

Search: Search took 0.28 seconds.

  1. Replies
    4
    Views
    153

    Re: Can someone help me with this error?

    I changed != to >, but when I type "quit" to exit, it still runs. shouldn't it stop running because I said !answer.equals("quit")?
  2. Replies
    4
    Views
    153

    Can someone help me with this error?

    The while loop keeps running although I type quit. What is wrong with this code?


    import java.util.*;

    public class OddEvenGame {
    public static void main(String[] args) {
    Scanner...
Results 1 to 2 of 2