Consider the series of alternating 1s and 0s
1 0 1 0 1 0 1 0 1 0 ……
The user will enter a number n . And you have to output the first n numbers of this sequence (separated by spaces)
Save your time - order a paper!
Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlinesOrder Paper Now
You may assume the user will enter n > 0 and an integer
Note: You may only use concepts learnt so far. You are not allowed to use more advanced concepts such as string indexing/lists etc.