Search:

Type: Posts; User: dicdic

Search: Search took 0.09 seconds.

  1. Replies
    17
    Views
    1,634

    [SOLVED] Re: Counting input array

    the question is:
    how many times you want to execute the codes in your loop?
    or in what way will your loop be terminated?
  2. Replies
    17
    Views
    1,634

    [SOLVED] Re: Counting input array

    because you have a condition number != 0
    but initially you declared number = 0;
    therefore, it will never execute the loop since the condition number != 0 is false.
Results 1 to 2 of 2