#include #include int main() { int const n=10; int i,arr[n]; int count=arr[0]; printf("Enter size of your array: "); scanf("%d",&n); printf("Enter element to your array:\n"); for(i=0;icount) count=arr[i]; printf("Chain is monotone,because %d < %d\n",arr[i],arr[i]+1); } printf("Array is monotone\n"); getchar(); getchar(); return 0; }