2、提示输入一个ASII码值,打印输入的字符。
#include <stdio.h>
int main(void)
{
int n;
printf("请输入数字:");
scanf("%d",&n);
printf("%d is %c\n", n, n);
return 0;
}
3、发出警报,并打印
**Startled by the sudden sound,Sally shouted
"By the Great Pumpkin,what was that!"**
#include <stdio.h>
int main(void)
{
printf("\a");
printf("Startled by the sudden sound,Sally shouted\n");
printf("\"By the Great Pumpkin,w