Search:

Type: Posts; User: andreas90

Search: Search took 0.10 seconds.

  1. Replies
    6
    Views
    3,031

    Re: Need help with an Array problem!

    What have you tried so far? Before you start implementing the code you should write down the logic in a piece of paper.
  2. Replies
    6
    Views
    3,031

    Re: Need help with an Array problem!

    Hello eyesackery!
    If I were you, I would go with the following logic

    loop through the array{
    if (element i is even){
    if (element i+1 and element i+2 are even)
    ...
Results 1 to 2 of 2