While.cpp

#include <iostream>
using namespace std;

void main() {

int x=0;

while(x<10) {

cout << x;
x++;

}
cout << endl ;

}