C++ – Count to 10 Posted on July 29, 2016 by ryan Just checking out C++ // C++_count.cpp : counts to 10//#include using namespace std;int main(){ int i = 0; while (i <= 10) { cout << i << endl; ++i; } return 0;}