Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Lior Yehieli Lesson


            
                
            
 run  | edit  | history  | help 0

include <stdio.h>

int main(void) { int a[10]={1,2,3,4,5,6,7,8,9,10}; int i,index,max; max=a[i]; for(i=1;i<10;i++) { if (a[i]>max) max=a[i]; }

printf("max=%d\n",max );
return 0;

}

  by  Eyal.Yehieli, 2 months ago




Please log in to post a comment.