Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Let's code a circle calculator program with C ⚪
Play lesson

C tutorial for beginners ⚙️ - Let's code a circle calculator program with C ⚪

4.0 (0)
13 learners

What you'll learn

This course includes

  • 6.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

#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);

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere