全民快乐8

你当前所在位置:全民快乐8 > IT技术探讨 > 程序员情人节表白代码:多彩小心心(C语言)

程序员情人节表白代码:多彩小心心(C语言)

SHOUXINGUANYIQINGYINGXIANG,JINNIANQINGRENJIEJIANGHUIYUWANGBUTONG,BUNENGGUANGJIELE,BUNENGQUDIANYINGYUANLE。DUIYUFENGELIANGDIDEQINGLV,JIANMIANBURUWANGLUOCHUANQING。CHENGXUYUANQINGRENJIEBIAOBAI“DUOCAIXIAOXINXIN”CYUYANYUANDAIMA ,GONGCANKAO!XIWANGDAJIANENGXIECHUZIJIDECHENGXUQUZHUINVPENGYOU!


#include

#include

#include

#define I 20

全民快乐8#define R 340

#include

int main()

{

全民快乐8 char answer[10];

printf("YUDAONI\nWOCAIFAXIAN\nCENGJINGSUOYOUDETIAOJIAN\nSIHUDOUCHENGLEWODENGNIDEJIEKOU\n\n");

printf("WODUINIDEGANQINGYIJINGJUEDI\nSUOYI\nQINGYUNXUWO,CONGJINWANGHOUYINGRUNI\nMINGMEIDEYAN\n");

全民快乐8 printf("WO\nXIANGHENI\nERBINSIMO,XIANGRUYIMO!");

printf("DAYINGWOBA!\nSHURUyes,NIKEYIKANDAOWODEZHENXIN\n");

全民快乐8 scanf("%s", answer);

全民快乐8 float y, x, z, f;

for (y = 1.5f; y > -1.5f; y -= 0.1f)

{

for (x = -1.5f; x < 1.5f; x += 0.05f)

{

全民快乐8 z = x * x + y * y - 1;

f = z * z*z - x * x*y*y*y;

putchar(f <= 0.0f ? "*********"[(int)(f*-8.0f)] : ' ');

}

putchar('\n');

}

全民快乐8 long time;

for (;;)

{

system("color a");

for (time = 0; time<99999999; time++);

system("color b");

for (time = 0; time<99999999; time++);

system("color c");

for (time = 0; time<99999999; time++);

全民快乐8 system("color d");

for (time = 0; time<99999999; time++);

system("color e");

for (time = 0; time<99999999; time++);

全民快乐8 system("color f");

for (time = 0; time<99999999; time++);

全民快乐8 system("color 0");

for (time = 0; time<99999999; time++);

system("color 1");

for (time = 0; time<99999999; time++);

全民快乐8 system("color 2");

for (time = 0; time<99999999; time++);

system("color 3");

for (time = 0; time<99999999; time++);

system("color 4");

全民快乐8 for (time = 0; time<99999999; time++);

全民快乐8 system("color 5");

for (time = 0; time<99999999; time++);

system("color 6");

全民快乐8 for (time = 0; time<99999999; time++);

全民快乐8 system("color 7");

全民快乐8 for (time = 0; time<99999999; time++);

system("color 8");

for (time = 0; time<99999999; time++);

system("color 9");

}

全民快乐8 getchar();

return 0;

}


执行效果如下:


程序员情人节表白多彩小心心.jpg

课程预约

全民快乐8

全民快乐8

全民快乐8

全民快乐8