Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- Liste=[32,22,11,66,324,1,46,2,7]
- min=Liste[0]
- for(x=0;x<Liste.length;x++) {
- if(min>Liste[x]) min=Liste[x]
- alert("kleinstes element an stelle": +x)
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement