Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
10 bottles of juice
var x = 11; while (x > 1) { x = x-1; if (x>1 ) print(x+" bottles of juice on the wall! "+x+" bottles of juice! "+"Take one down, pass it around... "+(x-1)+" bottles of juice on the wall!") else {print("1 bottle of juice on the wall! One bottle of juice! Take it down, pass it around... No bottles of juice on the wall!") }}
run
|
edit
|
history
|
help
0
Just stop thinking about it and go eat
Tiny Hannoi
ECMAScript5 - js
Dum
Узнать день недели из двух дат
GCD
js
Palindrome
Javascript Basics If statements
Nth Fibonacci Number