在C语言里,怎么做“我爱你”的一个程序呢?

如题所述

#include<stdio.h>

#include<stdlib.h>

intmain(void)

{

puts("我爱你");

returnEXIT_SUCCESS;

}

扩展资料

C++的表达方式

usingnamespaceSystem;

voidmain()

{

Console::WriteLine("我爱你");

}

温馨提示:答案为网友推荐,仅供参考
第1个回答  2011-05-31
循环控制打印个爱心出来。
这个貌似太没技术含量了,不过C本来就不是浪漫的语言,怎么能唱出动听的情话?
第2个回答  推荐于2017-09-15
/* Note:Your choice is C IDE */
#include "stdio.h"
main()
{
for( ; ;)
{
printf("**** **** ****\n");
printf("* * * *\n");
printf("**** **** * *\n");
printf(" * * * *\n");
printf("**** **** ****\n");
getch();
}

}本回答被提问者采纳
第3个回答  2011-06-01
#include<stdio.h>
main()
{
printf("我爱你!");
}
第4个回答  2011-05-31
#include<stdio.h>
main()
{
printf("我爱你!");
}