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

CodeTextPro.com Provides - Web design, Technology gyan, Digital marketing, Online earnings, Seo, Adsense, Technology news, Motivation and inspiration, Latest Technology Affairs, Gadgets, Blogging

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