Write a c program to calculate the area of a circle - CodeTextPro | Free Web Tutorial

Codetextpro Provides free Web tutorial, HTML, CSS, C, C++, Java, JavaScript, PHP, MySql, Python, Program, Programming Notes, Programming Questions and more.

Programming

Friday, January 4, 2019

Write a c program to calculate the area of a circle

calculate the area of a circle

#include<stdio.h>
#include<conio.h>
main()
{
float r,z=0;
printf("enter the radious of circle");
scanf("%f",&r);
z=3.14*(r*r);
printf("the area of circle=%f",z);
getch();
}

No comments:

Post a Comment