啊哈磊_编程从这里起步

标题: 什么叫读入,咋读入啊,我照着课本把代码敲出来运行,啥东西没有,为啥 [打印本页]

作者: wpl1127    时间: 2021-1-22 22:58
标题: 什么叫读入,咋读入啊,我照着课本把代码敲出来运行,啥东西没有,为啥
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main()
  4. {int a,b,c;
  5. scanf("%d%d",&a,&b);
  6. c=a+b;
  7. printf("%d+%d=%d",a,b,c);
  8.     system("pause");
  9.     return 0;
  10. }


复制代码





欢迎光临 啊哈磊_编程从这里起步 (https://bbs.codeaha.com/) Powered by Discuz! X3.2