Advertisement
Guest User

Untitled

a guest
Nov 27th, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. var a = prompt ('Podaj 1 liczbe');
  2. var b = prompt ('Podaj 2 liczbe');
  3. var c = prompt ('Podaj 3 liczbe');
  4.  
  5. var liczby = [a,b,c]
  6.  
  7. liczby.sort()
  8.  
  9. document.write(liczby[0]);
  10. document.write(liczby[1]);
  11. document.write(liczby[2]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement