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.
Swift program
Is this a homework for you? You would get better responses sooner if you could show what you had done till now.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.
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.
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.