Menus

Saturday 14 December 2019

c program to find area of circle


Code

#include<stdio.h>

void main()
{

float area,radius,pi=3.14;

printf("Enter the radius of a circle : ");
scanf("%f",&radius);

area = pi * radius * radius;

printf("Area of Circle is %f\n",area);

}


Video




No comments:

Post a Comment