#include <stdio.h>
int main(void)
{
int a[10],b=1;
printf("Enter 10 integers:\n"); for (int i = 0; i < 10; i++) {
if (a[i] >= a[i + 1])
b = 0;
}
printf("The numbers are %s increasing order.\n", b
? "" : "not in"); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSAKewoJaW50IGFbMTBdLGI9MTsKICAgIHByaW50ZigiRW50ZXIgMTAgaW50ZWdlcnM6XG4iKTsKICAgIGZvciAoaW50IGkgPSAwOyBpIDwgMTA7IGkrKykgewogICAgICAgIHNjYW5mKCIlZCIsICZhW2ldKTsKICAgICAgICBpZiAoYVtpXSA+PSBhW2kgKyAxXSkKICAgICAgICAgICAgYiA9IDA7CiAgICB9CiAgICBwcmludGYoIlRoZSBudW1iZXJzIGFyZSAlcyBpbmNyZWFzaW5nIG9yZGVyLlxuIiwgYiA/ICIiIDogIm5vdCBpbiIpOwoJcmV0dXJuIDA7Cn0K