#include <iostream>
#include <limits>
using namespace std;
int main()
{
float red;
cout << "to calculate the circumference and area of the circle enter redius";
cin >> red;
cout << "circumference of the circle is = ";
cout << red*2*3.1416 << "\n";
cout << "area of the circle is = ";
cout << 3.1416*red*red;
cin.ignore(numeric_limits<streamsize>::max(), '\n');
cin.get();
return 0;
}
Thursday, 24 January 2013
program 2-10(57) calculate the circle area and circumference
08:07
ATEEK
No comments
0 comments:
Post a Comment