Search:

Type: Posts; User: chronoz13

Search: Search took 0.09 seconds.

  1. Replies
    5
    Views
    3,970

    Re: boolean value in a simple loop (do-while)

    ahh so it makes no sense if i subtracted 1 from the loopcount...

    never thought of that using while loop
    so it wont over count.. whahahah...
  2. Replies
    5
    Views
    3,970

    Re: boolean value in a simple loop (do-while)

    ahh but i supposed its not efficient... i just have to make a loop count... because it wont count if the loop will be false...

    whahahahha no sense at all..... just count it.....(it will only count...
  3. Replies
    5
    Views
    3,970

    Re: boolean value in a simple loop (do-while)

    ive already solved the mistaken part...



    if ((Continue()) == true) {

    loopCount++;
    }
  4. Replies
    5
    Views
    3,970

    boolean value in a simple loop (do-while)

    public class NewMain {

    private static Scanner sc = new Scanner(System.in);

    public static void main(String[] args) {

    int loopCount = 0;

    int negativeCount =...
Results 1 to 4 of 4