diff --git a/C5/ex4.c b/C5/ex4.c index 207f22b..d5c7cb8 100644 --- a/C5/ex4.c +++ b/C5/ex4.c @@ -6,6 +6,6 @@ int main() { printf("Enter radius: "); scanf("%f", &r); - printf("Area of circle: %f\n", M_PI*r*r); + printf("Area of sphere: %f\n", 4.0*M_PI*r*r); printf("Volume of sphere: %f\n", M_PI*r*r*r*4.0/3.0); }