#include<stdio.h>
int main(void)
{
int a, b, c;
for (a = 1; a <= 4; a++)
{
for (b = 4; b >= a; b--)
{
printf(" ");
}
for (c = 1; c <= 2*a-1; c++)
{
printf("*");
}
printf("\n");
}
return 0;
}
#include<stdio.h>
int main(void)
{
int a, b, c;
for (a = 1; a <= 4; a++)
{
for (b = 4; b >= a; b--)
{
printf(" ");
}
for (c = 1; c <= 2*a-1; c++)
{
printf("*");
}
printf("\n");
}
return 0;
}