Created
August 28, 2024 04:11
-
-
Save rugbyprof/7e11c09e7af39f5274c56788d2cc1db2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main(int argc, char *argv[]) { | |
for (int i = 99; i > 0; i--) { | |
cout << i << " Bottles of beer on the wall " << i << " bottles of beer.\n"; | |
cout << "Take one down, pass it around, " << (i - 1) | |
<< " bottles of beer on the wall." << endl; | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment