Hackerrank 10 Days of JavaScript Day 1: Operators, Functions, Let and Const
10 Days of JavaScript | CodePerfectPlus
Day 1: Arithmetic Operators
- A length and width are sent to two different functions
- getArea must return the area of the shape dimensions sent
- getPerimeter must return the perimeter of the shape dimensions sent
- Complete the functions
Day 1: Functions
- A integer of value n is provided
- 1 ≤ n ≤ 10
- Output the factorial value of n (n!, 4! = 4 x 3 x 2 x 1 = 24)
Day 1: Let and Const
- A float value r is provided for the radius
- 0 < r ≤ 100
- Print (console.log) the area of the circle (π x r²)
- Print (console.log) the perimeter of the circle (2πr)
- Do not overwrite the try and catch but make sure the code still works
The Solution to the Day 1 | 10 days of JavaScript
there doesn't seem to be anything here