Home / Programs / C Program to Calculate Area of Circle
🚀 Programming Example

C Program to Calculate Area of Circle

👁 2,215 Views
💻 Practical Program
📘 Step Learning
In this c program we will calculate Area of Circle

💻 Program Code

#include"stdio.h"
int main() {
   float radius, area;
 
   printf("\nEnter the radius of Circle : \n");
   scanf("%f", &radius);
 
   area = 3.14 * radius * radius;
   printf("\nArea of Circle : %f \n", area);
 
   return (0);
}

                        

🖥 Program Output

Enter the radius of Circle :
6

Area of Circle : 113.040001
Press any key to continue . . .
                            
📚 Learning Subject

Master Programming Through Practical Examples

Improve your coding logic, problem-solving skills and programming confidence by practicing real-world examples with explanations.

🎯 How to learn from this example

First understand the algorithm carefully. Then study the program line-by-line and compare it with the output. Finally, review the explanation section to strengthen your logic and programming understanding.

🔥 Practice suggestion

Rewrite the program without looking at the code. Modify values, conditions or logic and run it again. This helps improve confidence and strengthens coding skills much faster.