scanf输入函数 scan:扫描 f–format:格式 scanf:从控制台接收用户输入 输入整数: int n; scanf(“%d”, &n); 输入小数: double x; scanf(“%lf” include