Computer Science, asked by abhisheknag817, 6 months ago

write a javascript program to accept length and breadth of a rectangle and print its perimeter and area.​

Answers

Answered by Anonymous
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