标签:io sp for bs amp nbsp br ca return
#include<stdio.h>
int main()
{
int i,n,x,a;
scanf("%d",&n);
for(i=0;i<=n;i++)
{
for(x=n;x>i;x--)
{
printf(" ");
}
for(a=1;a<=2*i-1;a++)
{
printf("* ");
}
printf("\n");
}
return 0;
}
标签:io sp for bs amp nbsp br ca return
原文地址:http://www.cnblogs.com/huan1314/p/4140736.html