CODE
#include <iostream.h>
#include <stdlib.h>
Int main ()
{ system(“CLS”)
Double radius, area perimeter ;
Cout << “Enter radius of the circle : “ ;
Cin >> radius ;
Perimeter = 2 * 3.14159 * Radius ;
Area = 3.14159 * radius * radius ;
Cout << “The area of the circle is ; “ ;
Cout << “ \n The perimeter of the circle is : “ ;
Cout << perimeter ;
Return 0 ;
}
0 comments:
Post a Comment