It's a little short and pointless, but I'm happy I could make it and not ask any questions.
Code:#include <iostream> using namespace std; int main() { srand( (unsigned int) time (0)); for ( int x = rand()%20; x > 0; x-- ) { cout<< x <<endl; } cin.get(); }