Skip to content

DannellMorales#160

Open
dannellmorales wants to merge 4 commits intojoinpursuit:masterfrom
dannellmorales:master
Open

DannellMorales#160
dannellmorales wants to merge 4 commits intojoinpursuit:masterfrom
dannellmorales:master

Conversation

@dannellmorales
Copy link

No description provided.

let radius = 2
let circumferenceResult = (Math.PI*2) * radius
console.log('The circumference is ' + circumferenceResult)
let area = Math.PI * (radius**2)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice use of Math library. Also can use Math.pow(radius, 2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants