Find Perimeter of a Circle. Take the value of the radius from user.
#include<stdio.h> #define pi 3.14 void main() { int r; float p; printf("Enter the value of radius: "); scanf("%d…
#include<stdio.h> #define pi 3.14 void main() { int r; float p; printf("Enter the value of radius: "); scanf("%d…
#include<stdio.h> #define pi 3.14 void main() { int r; r=7; printf("Perimeter=%f",2*pi*r); } Output Print Download…
#include<stdio.h> #define PI 3.142 void main() { float r,a,c; printf("\nEnter the radius of circle:\t"); scanf("%f",&…