2:23:42Let's code a circle calculator program with C ⚪
From the creator
#coding #programming #cprogramming This is a beginner's practice project to help you get used to math functions double radius = 0.0; double area = 0.0; double surfaceArea = 0.0; double volume = 0.0; const double PI = 3.14159; printf("Enter the radius: "); scanf("%lf", &radius); area = PI * pow(radius, 2); surfaceArea = 4 * PI * pow(radius, 2); volume = (4.0 / 3.0) * PI * pow(radius, 3); printf("Area: %.2lf\n", area); printf("Surface Area: %.2lf\n", surfaceArea); printf("Volume: %.2lf\n", volume);
Published 2025-03-02 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





