Scanf的用法2024-02-01 15:35:58 Scanf的用法 #include<stdio.h> #pragma warning(disable:4996) //消除错误 #pragma warning(disable:6031) //消除警告 main() { int num1, num2; scanf("%d%d", &num1, &num2); int result = num1 + num2; printf("结果是%d", result); return 0; } 上一篇:Microk8s 安装helm3下一篇:Selenium启动Chrome时配置选项详解