write a javescript program to accept length and breath of rectangle and printa its area and perimeter
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