Search:

Type: Posts; User: Junky

Search: Search took 0.14 seconds.

  1. Replies
    5
    Views
    3,770

    Re: do while syntax error problem

    Another thing, I wouldn't be using nextBoolean. That relies on the user typing "true" or "false". Whereas it is more usual to enter "yes" or "no". This also allows more flexibility as you can do an...
  2. Replies
    5
    Views
    3,770

    Re: do while syntax error problem

    You are still using assignment and not comparison. Besides when using booleans you do not need to compare.

    boolean tt = true;
    boolean ff = false;
    if(tt) // when true

    if( ! ff) //when false
Results 1 to 2 of 2