|
Post by Rahul Yadav on Aug 24, 2015 17:26:46 GMT 5.5
#include<iostream.h> #include<conio.h> void main() { clrscr(); long double rad, ar, peri; const double pi=3.14; cout<<"Enter the radius : "<<endl; cin>>rad; ar=rad*rad*pi; peri=2*pi*rad; cout<<"The area of the circle is : "<<ar<<endl; cout<<"The perimeter of the circle is : "<<peri<<endl; getch(); }
|
|
|
Post by Satyajit Ghana on Aug 24, 2015 22:09:02 GMT 5.5
nice very nice!! make more posts
|
|