Search:

Type: Posts; User: javapenguin

Search: Search took 0.09 seconds.

  1. Re: New to the complmunity, need some assistance please.

    Also, don't have ; after your if statements. That is basically causing your if to execute an empty statement and then always will therefore increment headcount and tailcount. That's why it's always...
  2. Re: New to the complmunity, need some assistance please.

    Also, you don't always have to use a String per se for the println.

    System.out.println("The amount of 'Heads' entered is: " + headcount);
  3. Re: New to the complmunity, need some assistance please.

    System.out.println ("headCount + " headCount++");
    System.out.println ("tailCount + " tailCount++");
    That will confuse it as you have an unclosed pair of " ".

    I'm not sure if you want the "+" in...
Results 1 to 3 of 3