Answers for "Subhasis Just search"

0

Subhasis Just search

// circle.js

var PI = 3.14; // PI will not be accessible from outside this module

exports.area = function (r) {
  return PI * r * r;
};

exports.circumference = function (r) {
  return 2 * PI * r;
};
Posted by: Guest on April-06-2022

Browse Popular Code Answers by Language