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.
Answered by Claude31 in 672913022
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.

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.
Accepted Answer
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.
Swift program
 
 
Q