Increasing
or Decreasing
Write a program
that asks the user to type N (N>1) integers of an array. The program will
then display either the array is “Increasing", “Decreasing", “Constant",
or " Increasing and Decreasing".
Input: In the first line you will get N and
then in the second line N integer numbers separated by a space.
Output: The message as “Increasing", “Decreasing",
“Constant", or " Increasing and Decreasing".
 
 
  | Sample Input1: | Sample Input2: | 
 
  | 3 5 7 10 | 5 7 4 6 8 3 | 
 
  | Sample Output1: | Sample Output2: | 
 
  | Increasing | Increasing and Decreasing | 
 
 
Для отправки решений необходимо