Write a program to find the circumference of a circle

Leave a Comment

Write a c++ program to calculate the cricumference of a circle.

For this program we need the value of radius so we take the value of r from user then calculate the circumference of a circle.

void main() 
 float r,circumference;  // Declare variable 

cout<<"Enter radius of a circle";

cout<<"circumference of a circle is"<<circumference;  

C/C++ programs

click here
If You Enjoyed This, Take 5 Seconds To Share It


Post a Comment