Swift program

Write a Swift program to test whether a value presents sequentially three times in an array of integers or not Without using in-built function.

Accepted Reply

What do you expect to learn if you just ask others to do the work for you ?

The right use of this forum is to explain first what you did
Then the problem you have.

Have you an idea of the algorithm to do this ? That's the first step, before coding.

Replies

Write a Swift program to test whether a value presents sequentially three times in an array of integers or not Without using in-built function.

Is this a homework for you? You would get better responses sooner if you could show what you had done till now.
What do you expect to learn if you just ask others to do the work for you ?

The right use of this forum is to explain first what you did
Then the problem you have.

Have you an idea of the algorithm to do this ? That's the first step, before coding.