void mirror_triangle(int n)
{
if (n==1) printf("*");
else
{
printstar(n);
printf("\n");
mirror_triangle(n-1);
printf("\n");
printstar(n);