#include <stdio.h> int main(){ int num; while(scanf("%d",&num)!=EOF){ for(int i=1;i<=num;i++){ for(int j=1;j<=2*(num-i);j++){//以示例一为例,每一行空格数分别为8,6,4,2,由此得出2*(num-i) putchar(' '); } for(int j=1;j<=i;j++){ putchar('*'); putchar(' '...