Tuesday, 24 November 2015

C++ code to find circumference of circle

#include <iostream>
using namespace std;

int main()
{
double  radius, circumference;
cout << "Enter The Radius Of circle : ";
cin >> radius;
circumference = 2 * 3.14*radius;
cout << "Circumference is : " << circumference << endl;




return 1;
}
Share:

Related Posts:

0 comments:

Post a Comment