题目:输入四个整数,并赋值给a,b,c,d,试计算他们的算术平均值和几何平均值
#include "d3z-3.h"
#include <stdlib.h>
#include<iostream>
using namespace std;
void main()
{
int a;int b;int c;int d;double S;double C;
cin>>a>>b>>c>>d;
S=(a+b+c+d)/4;
C=double sqrt(double sqrt(a*b*c*d));
cout<<S<<C;
system ("pause");
}