// Properties of spheres of radii 1, 3, and 7 using arrays #include #include using namespace std; const double pi = 3.1416; const int N=3; // no. of spheres double r[N] = {1., 3., 7.}; // radii of spheres int main() { double area[N], volume[N]; // arrays for area and volume for (int i=0; i