The program asked user to enter the radius of the circle , then apply the circle area formula and display the output. These values may be in points so we take them in float and double.
Source Code
#include<iostream> using namespace std; int main () { float rad; double area; cout<<" Enter the Radius of the Circle \n "; cin>>rad; area = 3.14*rad*rad; cout<<" Area of the Circle is : " <<area; }
nyc wrk n it'll b very helpful for seekrrzz
ReplyDelete