I think you wnat this:
Code:#include <iostream> using namespace std; int main() { int numb; cout<<"please input the number you would like to loop\n"; cin>>numb; //for the next part where it says <10 i dont really know wut this is but i dont want it. for ( int x = 0; x <numb; x++ ) { cout<< x <<endl; } cin.get();