Google Add


Write a program to find the circumference of a circle

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

No comments:

Post a Comment