codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
int main(int argc, char* argv[]) { int bottles; for(bottles = 100; bottles > 1; bottles--) { printf("%d bottles of beer on the wall! %d bottles of beer!\nYou take one down, pass it around, %d more bottles of beer on the wall!\n\n", bottles, bottles, (bottles - 1)); } printf("1 bottle of beer on the wall, 1 bottle of beer!\nYou take it down, pass it around, no more bottles of beer on the wall!\n\n"); return 0; }
Private
[
?
]
Run code