Horje
C++ Area and Circumference of a Circle Code Example
C++ Area and Circumference of a Circle
    float rad,circum,area;
    const float PI = 3.14159265;

    cout<<"Input the radius of the Circle: ";
    cin>>rad;

    circum = 2*PI*rad;
    area = PI*rad*rad;

    cout<<"The Diameter is "<<area<<" and the circumference is "<<circum;




Cpp

Related
dev c++ tahe last word error Code Example dev c++ tahe last word error Code Example
can you verify adsense no ssl certificate Code Example can you verify adsense no ssl certificate Code Example
expected number of trials to get n consecutive heads Code Example expected number of trials to get n consecutive heads Code Example
user defined key for map in c++ Code Example user defined key for map in c++ Code Example
cpp code for euclids GCD Code Example cpp code for euclids GCD Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11