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

Customize User's Profile in ASP.NET Identity System

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