Search:

Type: Posts; User: serdar

Search: Search took 0.09 seconds.

  1. Replies
    24
    Views
    3,143

    Re: Can't run Game of Life programm

    use if else statements in printMatrix() method
    Example: if(yourBoolean)...;else...;

    read Control Flow Statements (The Java™ Tutorials > Learning the Java Language > Language Basics)
    The while...
  2. Replies
    24
    Views
    3,143

    Re: Can't run Game of Life programm

    you have used two Scanner objects and second object has only one character read from first object it doesn't have 3 characters
    to resolve your problem use just first object when calling...
Results 1 to 2 of 2