首页 > 代码库 > c语言做自我介绍

c语言做自我介绍

萌妹子都是这样子做自我介绍的 啦啦啦
CodeSnippet:#include<stdio.h>#include<conio.h>#include<windows.h>void DrawPic();void printSpace();int main(){	int i;	int j=3;	printf("   ***       ***\n");	printf("  ******   ******\n");	printf(" *****************\n");	printf("  ******* *******\n");	printf("   ***   S   ***\n");	printf("     **** ****\n");	printf("       *****\n");	printf("         * \n");	Sleep(1500);	printf("   ***       ***\n");	printf("  ******   ******\n");	printf(" *****************\n");	printf("  ******* *******\n");	printf("   ***   U  ***\n");	printf("     **** ****\n");	printf("       *****\n");	printf("         * \n");	Sleep(1500);	printf("   ***       ***\n");	printf("  ******   ******\n");	printf(" *****************\n");	printf("  ******* *******\n");	printf("   ***   N   ***\n");	printf("     **** ****\n");	printf("       *****\n");	printf("         * \n");	Sleep(1500);	system("cls");	printf("   ***       ***\n");	printf("  ******   ******\n");	printf(" *****************\n");	printf("  ******* *******\n");	printf("   **** Sun ****\n");	printf("     **** ****\n");	printf("       *****\n");	printf("         * \n");	Sleep(1500);	system("cls");	printf("大家好~很高兴认识你们!\n\n");	Sleep(2000);	printf("我叫骆婷!也有很多人叫我小太阳!\n\n");	Sleep(2000);	printf("啊?你想问为毛他们叫我小太阳?\n\n");	Sleep(2000);	printf("啦啦啦,我就不告诉你!\n\n");	Sleep(2000);	system("cls");	printf("相信我们大家一定能成为友好的一家人~~~~\n\n");	Sleep(2000);	while(j!=0)	{	for(i=0;i<30;i++)	{		DrawPic(i);		Sleep(100);		system("cls");	}	j--;	}	system("cls");}	void DrawPic(int flag){	printSpace(flag);	printf("   ***       ***\n");	printSpace(flag);	printf("  ******   ******\n");	printSpace(flag);	printf(" *****************\n");	printSpace(flag);	printf("  ******* *******\n");	printSpace(flag);	printf("   *****DOg3****\n");	printSpace(flag);	printf("     **** ****\n");	printSpace(flag);	printf("       *****\n");	printSpace(flag);	printf("         * \n");}void printSpace(int i){	int j;	for(j=0;j<=i;j++)	{		printf(" ");	}}太阳学姐就是炫酷

c语言做自我介绍