When I try and run the program, it starts at 75, instead of 99. Also, what's the point of using notepad when C++ comes with a thing to wright code in? I am very new to programming.
Thanks
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#include <iostream>
#include <cmath>
int main(){
usingnamespace std;
int x;
for (x=99;x>0;x--)
cout << x << " " << "bottles of beer on the wall\n" << " " << x << " " << "bottles of beer\n"
<< " " << "take one down pass it around\n" << endl;
cout << x << " " << "Bottles of beer on the wall";
system("pause");
return 0;
}
1) It starts at 99. It might be you can only see the last 75 lines in the console. (The console in Windows only lets you see the last 80ish lines IIRC)
2) C++ is a language, not an IDE