Skip to main content
Search
Search This Blog
learn coding
Share
Get link
Facebook
X
Pinterest
Email
Other Apps
September 13, 2022
C program to find perimeter of circle
C program to find perimeter of circle
/* To find perimeter of circle */
#include<stdio.h>
#define PI 3.1415927
void main()
{
float peri, r;
printf("Enter value for radius\n");
scanf("%f",&r); peri=2*PI*r;
printf("Perimeter=%f\n",peri);
}
Comments
Popular Posts
September 25, 2022
automate the boring stuff with python book pdf
September 23, 2022
intro to python book (for computer science and data science)pdf download
Comments
Post a Comment