void putbar(int n)
{
int k;
for( k=0; k<n; ++k )
putchar( "****|"[k%5] );
putchar('\n');
}