.
struct TwoRealNums { double n1; double n2; }; TwoRealNums ArithAndGeoMean(int x,int y) { TwoRealNums p; p.n1=(x+y)/2.0; p.n2=sqrt(x*y); return p; }