HackerRank Problem Link
JS Solution
this.length = a; this.width = b; this.perimeter = 2 * (a + b); this.area = a * b;
Last updated 3 years ago
Was this helpful?