啊哈磊_编程从这里起步
标题:
为什么答案不是平均值
[打印本页]
作者:
道心至坚
时间:
2020-12-16 19:44
标题:
为什么答案不是平均值
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,b,s;
scanf("%d,%d",&a,&b);
s=(a+b)/2;
printf("%d",s);
return 0;
}
复制代码
欢迎光临 啊哈磊_编程从这里起步 (https://bbs.codeaha.com/)
Powered by Discuz! X3.2