啊哈磊_编程从这里起步
标题:
为啥我这运行不了
[打印本页]
作者:
西夏男儿
时间:
2020-2-25 14:28
标题:
为啥我这运行不了
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a;
scanf("%d",a);
if (a>0) printf("yes");
return 0;
}
复制代码
作者:
我是学霸
时间:
2020-2-26 15:05
第七行a前面要有&,加一行system("pause");
作者:
罗逻
时间:
2020-2-28 12:28
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a;
scanf("%d",&a);
if (a>0)
printf("yes");
system("pause");
return 0;
}
欢迎光临 啊哈磊_编程从这里起步 (https://bbs.codeaha.com/)
Powered by Discuz! X3.2