JavaScript Program to Find the Area and Perimeter of a Rectangle using Width and Length

preview_player
Показать описание
In this tutorial you will learn How to write a JavaScript Program to find the area and perimeter of a rectangle using width and length.

If you know the length and width of a rectangle then we can calculate the Area using the formula
Area = Width * Length

To calculate the Perimeter we use the formula
Perimeter = ( Length + Width ) * 2

Here in this program user will enter the length and width of the rectangle.

Install NodeJS and Set up Visual Studio Code for JavaScrpt Programming

Taking User Input using prompt-sync on nodeJS / JavaScript

our Social Media Pages

Our Website

#ExampleProgram
Рекомендации по теме
Комментарии
Автор

Thanks, and your English is very good!

j.hulsey