/* ### The following variable defines the constant PI ### */
const float PI = 3.14;
float CirclePerimeter(float radius)
{
/* ### Write your code below this line ### */
return /........................../;
}
whats the answer?
/* ### The following variable defines the constant PI ### */
const float PI = 3.14;
float CirclePerimeter(float radius)
{
/* ### Write your code below this line ### */
return /........................../;
}
whats the answer?
do you know the matematical formula for the circle perimeter or do you know how to find it by googling? start from there
ok thanks oooooooooo
you have any tips to googling it more atractivly?
google “circle perimeter formula”, you will find something like perimeter = 2πr
, and now you just need to put it into your code