啊哈磊_编程从这里起步

标题: 为啥运行失败???????? [打印本页]

作者: lin&    时间: 2019-6-30 21:01
标题: 为啥运行失败????????
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main()
  4. {
  5.     int a;
  6.     scanf("%d",&a);
  7.     if (a>0)
  8.     {
  9.         printf("yes");
  10.     }
  11.     if (a<=0)
  12.     {
  13.         printf("no");
  14.     }
  15.     system("pause");
  16.     return 0;
  17. }
复制代码

作者: Black sheep    时间: 2019-7-1 16:52
你这....就是对的啊,我刚刚复制过去试了一下,可以成功运行啊,要不然你再运行一下?




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