write a javascript program to accept length and breadth of a rectangle and print its perimeter and area.
Answers
Answered by
1
perimeter ();
function perimeter (){
var length = prompt("Enter The Length");
var breadth = prompt("Enter The Breadth");
var perimeter = 2 * ( length + breadth);
alert(perimeter);
}
Similar questions