//Perimeter of Circle 2 × pi × radius
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
double Circle,pi=3.1415926535,radius;
cout<<"Enter Radius = ";
cin>>radius;
Circle=2*pi*radius;
cout<<"Perimeter of Triangle = "<<Circle;
getch();
}
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
double Circle,pi=3.1415926535,radius;
cout<<"Enter Radius = ";
cin>>radius;
Circle=2*pi*radius;
cout<<"Perimeter of Triangle = "<<Circle;
getch();
}
0 Questions:
Post a Comment