Search:

Type: Posts; User: boobology

Search: Search took 0.21 seconds.

  1. Replies
    4
    Views
    342

    Re: do while loop, variable can't be found

    sorry i forgot to save the changes i made before trying to compile the second time.

    these are the new error codes:
    ivans-mbp:Documents IvanBaird$ javac Pig.java
    Pig.java:44: cannot find symbol...
  2. Replies
    4
    Views
    342

    do while loop, variable can't be found

    import java.util.*;
    public class Pig{

    public static void main (String [] args){
    int player1 = 0;
    int player2 = 0;
    String s = "";
    String b = prompt(s);
    if (b.charAt(0)...
Results 1 to 2 of 2