Adding a cone in C
float totalVolume (struct *bptr[])
elseif (b->type == CYLINDER)
volume += CylinderVolume(b);
float totalSurface (struct *bptr[])
surface += CubeSurface(b);
elseif (b->type == CYLINDER)
surface += CylinderSurface(b);
surface += ConeSurface(b);