#include <stdio.h>
int main( )
{
int i, n , num, ultimo_num, crescente = 1 ;
printf ( "Quantos numeros voce ira digitar?" ) ;
for ( i = 0 ; i < n; ++ i) {
if ( i != 0 && ultimo_num >= num) {
crescente = 0 ;
}
ultimo_num = num;
}
if ( crescente == 1 ) {
}
else {
printf ( "Numeros digitados nao estao em ordem crescente" ) ; }
return 0 ;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKCkKewogICAgaW50IGksIG4gLCBudW0sIHVsdGltb19udW0sIGNyZXNjZW50ZSA9IDE7CgogICAgcHJpbnRmKCJRdWFudG9zIG51bWVyb3Mgdm9jZSBpcmEgZGlnaXRhcj8iKTsKICAgIHNjYW5mKCIlZCIsICZuKTsKCiAgICBmb3IgKGkgPSAwOyBpIDwgbjsgKytpKXsKICAgICAgICBwcmludGYoIkRpZ2l0ZSBvIG51bWVybzoiKTsKICAgICAgICBzY2FuZigiJWQiLCAmbnVtKTsKCiAgICAgICAgaWYgKGkgIT0gMCAmJiB1bHRpbW9fbnVtID49IG51bSl7CiAgICAgICAgICAgIGNyZXNjZW50ZSA9IDA7CiAgICAgICAgfQogICAgICAgIHVsdGltb19udW0gPSBudW07CiAgICB9CgogICAgaWYoY3Jlc2NlbnRlID09IDEpIHsKICAgICAgICBwcmludGYoIk9yZGVtIGNyZXNjZW50ZSIpOwogICAgfQogICAgZWxzZSB7CiAgICAgICAgcHJpbnRmKCJOdW1lcm9zIGRpZ2l0YWRvcyBuYW8gZXN0YW8gZW0gb3JkZW0gY3Jlc2NlbnRlIik7CiAgICB9CgogICAgcmV0dXJuIDA7Cn0K