INCREASING DECREASING SEQUENCE
Take the following as input.
A number (N)
Take N more numerical inputs
The N inputs for a sequence S = s1, s2, …, sN. Compute if it is possible to split sequence into two sequences -
s1 to si and si+1 to sN such that first sequence is strictly decreasing and second is strictly increasing. Print true/false as output.
my code link please tell me my why i am getting error
https://ide.codingblocks.com/s/56464