Search:

Type: Posts; User: BinaryDigit09

Search: Search took 0.11 seconds.

  1. Replies
    7
    Views
    889

    Re: Can you help?

    Nice job!!
  2. Replies
    7
    Views
    889

    Re: Can you help?

    Something like this:


    int i = 0;
    while (i < 5) {
    // Do stuff
    i++;
    }
    // Let program terminate naturally
  3. Replies
    7
    Views
    889

    Re: Can you help?

    Hi,

    You're supposed to loop from 0 to 'n', but you're never checking any value against 'n' inside the loop. Instead, you're looping as long as 'n' > 0 but problem is 'n' will ALWAYS be greater...
Results 1 to 3 of 3