Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Rask paskutinę didžiausią reikšmę.
- static int Max (int[] M)
- {
- int max=0;
- for(int i=0; i<M.Length; i++)
- {
- if(max<=M[i])
- max=M[i];
- }
- return max;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement