Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Zad9JS
wiktormadera
Nov 27th, 2020
83
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
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
Public Pastes
Untitled
1 min ago | 13.98 KB
Untitled
2 hours ago | 12.49 KB
Untitled
4 hours ago | 12.40 KB
programacion_algoritmos_flashcards.tsv
5 hours ago | 2.67 KB
Untitled
6 hours ago | 17.13 KB
Untitled
8 hours ago | 18.40 KB
Untitled
10 hours ago | 17.70 KB
Untitled
12 hours ago | 16.97 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!