Search:

Type: Posts; User: chronoz13

Search: Search took 0.10 seconds.

  1. Replies
    4
    Views
    1,814

    Re: While (logical confusing output)

    never mind.. i've already solved it..... using pen and paper.... i just misunderstood the flow
  2. Replies
    4
    Views
    1,814

    Re: While (logical confusing output)

    and one more thing sir.... its not fifty-five? ryt? its five and five?
  3. Replies
    4
    Views
    1,814

    Re: While (logical confusing output)

    it doesnt mathematically added?

    it just simply concatenate? 5 and 5?

    sori for using the word Concatenate... because its not string...

    what i mean is... it doesnt add.. it just display the...
  4. Replies
    4
    Views
    1,814

    While (logical confusing output)

    public static void main(String[] args) {

    int sum = 0; int number = 0;

    while (number <= 10) {

    sum = sum + number;
    number = number + 1;
    }
Results 1 to 4 of 4