Advertisement
Dechatorn

Ex3

Oct 17th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int C[11]={2,4,6,8,10,12,14,24,43,64,86};
  5. int max = C[0],i;
  6. for(i=1;i<11;i++)
  7. {
  8. if(max<C[i])
  9. {
  10. max = C[i];
  11. }
  12. }
  13. printf("%d",max);
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement