-
-
Save egraldlo/deba27629c93247ace4a to your computer and use it in GitHub Desktop.
sub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int A[10]; | |
int max=0; | |
int len=1; | |
for(int i=0;i<10;i++) { | |
if(A[i]<A[i+1]){ | |
len++; | |
} | |
else{ | |
if(len>max) | |
max=len; | |
len=1 ; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment