📄 scanf.c
字号:
#include <stdio.h>
#include <conio.h>
void main()
{
int num;
char let;
char name[20];
printf("Type in a number, a letter and your name:");
scanf("%i %c %s",&num,&let,&name);
printf("%s typed in %i and %c.\n",name,num,let);
printf("This information will be used by the\n");
printf("government to force you into personally\n");
printf("paying off the national debt.\n");
printf("Thank you,\nUncle Sam.\n");
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -