diff --git a/Day 1/Arithmetic Operators.js b/Day 1/Arithmetic Operators.js index 6ecb3e2..f0b42d2 100644 --- a/Day 1/Arithmetic Operators.js +++ b/Day 1/Arithmetic Operators.js @@ -1,11 +1,16 @@ -/** +/* + * Author: Pavith Bambaravanage + * URL: https://github.com/Pavith19 +*/ + +/* * Calculate the area of a rectangle. * * length: The length of the rectangle. * width: The width of the rectangle. * * Return a number denoting the rectangle's area. -**/ +*/ function getArea(length, width) { let area; // Write your code here @@ -26,4 +31,4 @@ function getPerimeter(length, width) { // Write your code here perimeter = 2 * (length + width); return perimeter; -} \ No newline at end of file +}