Computer Science, asked by roshanmishra3492, 2 months ago

An algorithm to compute the circumference of a circle

Answers

Answered by srivastavaadityakuma
0

Answer:

using c++

#include<iostream>

int main()

{

int r,circumfrence;

cout<<"Enter the value of radius r:";

cin>>r;

circumfrence=2*3.14*r;

cout<<"The obtained circumfrence is:<<circumfrence<<endl;

return 0;

}

ask me if u have any doubt

please mark me as brainliest

Explanation:

Similar questions