Code:`#include <iostream>`

using namespace std;

int main()

{

int n;

// The loop goes while n< 9, and n increases by one every loop, right?

for (n=0; n<9; n++){

//Now here is what I don't understand

// What I don't understand is if I place n=9, the loop runs endlessly, why?

// I thought by placing n=9, I was telling the program to add by one from one

//up to 9 and when it reaches 9, it should stop. Instead it gives me endless 9s!

cout<< n <<endl;

}

return 0;

}