#include "stdafx.h"
#include
#include
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
system("cls");
int array[5]={1,2,3,4,5};
cout<<"\n ********** Histogram *********\n"<<endl;
for(int count_1=0;count_1<5;count_1++)
{
for(int count_2=0;count_2<array[count_1];count_2++)
cout<<"*";
cout<<endl;
}
std::cin.get();
return 0;
}