Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
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
Please
log in
to post a comment.
Variables
rotateMatrix
tt
Wall
JS exam part 2 - Moms
GCD
game
Time Waister
BinaryGap, javascript - Find longest sequence of zeros in binary representation of an integer.
Functions
stackse - search stackoverflow differently
Please log in to post a comment.