JavaScript Exercises | Hack Reactor's Bootcamp Prep | Module 1 | 047_computePerimeterOfACircle

preview_player
Показать описание
Hack Reactor Bootcamp Prep
Module 1 JavaScript Exercises
Exercise 47 of 145

In this video, I solve the exercise 047_computePerimeterOfACircle . The function 047_computePerimeterOfACircle has one parameter, radius and returns the perimeter of a circle. The JavaScript property, Math.PI is used to represent PI. To solve this exercise, one needs to have an understanding of the following:

-Functions
-Arguments and parameters
-Return statement
-Formula to calculate perimeter of circle
-Math.PI JavaScript property

Connect with me:

Рекомендации по теме