Program to find the area of circle


#include<stdio.h>
main()
{
      printf("FIND AREA OF CIRCLE\n");
      float r,pi=3.14,area;
      printf("Enter the value for radius : ");
      scanf("%f",&r);
      area=pi*r*r;
      printf("\nArea of circle is :%.2f",area);
      getch();
}

Comments

Popular posts from this blog

Migrating database from ASP.NET Identity to ASP.NET Core Identity

Customize User's Profile in ASP.NET Identity System

Lambda two tables and three tables inner join code samples