啊哈磊_编程从这里起步
标题:
请问哪里出错了导致无法运行
[打印本页]
作者:
wahahahahah
时间:
2022-9-11 23:02
标题:
请问哪里出错了导致无法运行
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b;
scanf("%d,%d",&a,&b);
double c=(a+b)/2.0;
printf("%d与%d的平均值为%f",a,b,c);
system("pause");
return 0;
}
复制代码
欢迎光临 啊哈磊_编程从这里起步 (https://bbs.codeaha.com/)
Powered by Discuz! X3.2