program to enter length and breadth of a rectangle and find its area.

Java script program to enter length and breadth of a rectangle and find its area.

write a Java script program to enter length and breadth of a rectangle and find its area.

				
					 <script>
        let l,b,a;
        l=parseInt(prompt("enter length"));
        b=parseInt(prompt("enter breadth"));
        a=(l*b);
        alert(a)
    </script>
				
			
Spread the love