圣诞树............
程序代码:
#include<stdio.h> main() { int i,j; for(i=1;i<=9;i++) { for(j=1;j<=9-i;j++) printf(" "); for(j=1;j<=2*i-1;j++) printf("*"); printf("\n"); } for(i=1;i<=8;i++) { printf(" "); printf("*******\n"); } printf("you can do it!Do it yourself!\n\n\n\n\n\n\n"); }