00:01
Hello, here we are with answers to the given question.
00:02
Let's start the discussion.
00:04
In this scenario, we are dealing with writing a c+ + program.
00:12
The c+ + program would be reading the series.
00:19
And here we have to go for certain conditional statements.
00:26
The conditional statements would be dealing with certain conditions and we need to satisfy such conditions.
00:35
And then it's important to consider the array because every element is important.
00:43
Every element here would be acting as the input.
00:47
Let's consider the important ways to consider the differences as far as the given requirement is concerned.
00:59
So, first you need to declare the array.
01:04
When you declare the array, go for the size of ioi...