Hello 👋 to all my lovely viewers.
Today in this video I would be teaching you how to calculate the area of a rectangle in Java script.
Video Editor Used --- Bandicam
Programming Editor Used -- ⚛Atom ⚛
Code for the video program
function calculate_RectArea(length,breadth){
var RectArea;
var RectArea = 2 * (length * breadth);
console.log("The area of the given rectangle is: " + RectArea);
}
calculate_RectArea(12,45);
It's quite easy