Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const liczby = []
- for(let i = 0; i < 3; i++)
- liczby[i] = Number(prompt(`Podaj liczbę nr. ${i + 1}`, 0))
- liczby.sort((a, b) => a - b)
- document.write(liczby.join(' '))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement