提交时间:2019-10-07 20:20:54
运行 ID: 1391
#include<iostream> int main(){ int a,e=1; scanf("%d",&a); while(b<=a){ int c=1; while(c<=a-b){ printf(" "); c++; } int d=1; while(d<=2*b-1){ printf("*"); d++; } printf("\n"); e++; } return 0; }