Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main (int argc, char **argv) {
- bool _ = true;
- int REEB = 99;
- for (;_;) { //I don't want to loop forever...
- cout << REEB << " bottle" << (REEB > 1 ? "s" : "") << " of beer on the wall! "
- << REEB << " bottle" << (REEB > 1 ? "s" : "") << " of beer!" << endl
- << "Take one down, pass it around, ";
- REEB -= 1;
- if (REEB == 0) {
- cout << "no more bottles of beer on the wall!" << endl;
- break; //I'LL BREAK THIS LOOP DEAD
- }
- cout << REEB << " bottle" << (REEB > 1 ? "s" : "") << " of beer on the wall!" << endl;
- }
- goto D; //go to the D
- D: //oh no it's over
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement