Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function plassering = check_highscore(points, scores)
- for i=1:10
- if points > scores(i,2)
- plassering = i;
- return
- else plassering = -1;
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement