/*3-3.编写一个程序,发出警报声,并打印下列文字:
Startled by the sudden sound, Sally shouted, "By the Great Pumpkin, what was that!"*/
#include <stdio.h>
int main()
{
printf("\aStartled by the sudden sound, Sally shouted, \"By the Great Pumpkin, what was that!\"\n");
system("pause");
return 0;
}
C Primer Plus3-3
最新推荐文章于 2024-09-28 21:40:24 发布
本文介绍了一个简单的C语言程序实例,该程序能够发出警报声并打印一段特定的文字,展示了如何使用printf函数结合转义字符实现声音警报及字符串输出。
906

被折叠的 条评论
为什么被折叠?



