1.直接打印(2013/3/2):
#include<stdio.h> #include<stdlib.h> int main(void) { printf("n"); printf(" * n"); printf("n"); printf(" * * * n"); printf("n"); printf(" * * * * * n"); printf("n"); printf(" * * * * * * * n"); system("pause"); return 0; }
效果图:
* *** ****** *******