计算四个整数的和与平均值。题目保证输入与输出均在整型范围内在一行中按照格式9
在一行中按照格式9---格式9是什么东东?
#include <iostream> using namespace std; int main() { int a,b,c,d,s; cin>>a>>b>>c>>d; s = a+b+c+d; cout<<s<<","<<s/4.0<<endl; }