#include<stdio.h>
#include<conio.h>
int main()
{
int i,j,sum=0;
int a[10]={1,22,3,4,5,6,7,8,9,1};
printf("%s %13s %17s\n","element","value","histrogram");
for(i=0;i<10;i++){
printf("%d %19d ",i,a[i]);
for(j=1;j<=a[i];j++){
printf("*");
}
printf("\n");
}
getch();
}