C++ While Looper

While Looper

#include <iostream>

using namespace std;

int main()
{
  int x = 0;
  while ( x <= 10 ) {
        cout<< x <<endl;
        x++;
  }
  cin.get();
}