scanf.c
来自「C源码集」· C语言 代码 · 共 19 行
C
19 行
#include <stdio.h>int main (){ int a, b; double x, y; printf("Please type in two integers: "); scanf("%d %d", &a, &b); /* no , between control characters or are forced to input a , between them. Must have & in front of the input variable names to allow scanf to change their values */ printf("Thank you for choosing %d and %d", a, b); return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?