#include <stdio.h>
#include <stdlib.h>
int main()
{
int i, j, k;
char space=' ';
for(i=;i<=;i++)
{
for(j=;j<=i;j++)
{
printf("%c",space );
}
for(k=;k<=;k++)
{
printf("*");
}
printf("\n");
}
return ;
}
![这里写图片描述](http://img.blog.csdn.net/20171112205437394?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQveGcxN18zODI0MTQxNzEzOQ==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)