c how to program 习题2.25

发布于2020-03-12 729 热度

//c how to program 习题2.25
#include <stdio.h>

int main(void)
{
	printf("        P\n");
	printf("        P\n");
	printf("PPPPPPPPP\n");
	printf("        P\n");
	printf("        P\n\n");

	printf("   PPPP\n");
	printf("  P    P\n");
	printf(" P      P\n");
	printf("  P    P\n");
	printf(" P PPPP\n\n");

	printf("PPPPPPPPP\n");
	printf("    P\n");
	printf("    P\n");
	printf("    P\n");
	printf("PPPPPPPPP\n\n");
}

记录工作,记录学习,分享知识,分享经验……