#include <iostream>
using namespace std;
int main()
{
cout << "-- LOOP INSIDE A LOOP --" << endl;
cout << "This program demonstrates the use of " << endl;
cout << "nested loops" << endl << endl;
for (int j=0;j<10;j++)
{
for(int i=0;i<5;i++)
{
cout << "*";
}
cout << endl;
}
cout << endl;
system("PAUSE");
return 0;
}