<script> var base = prompt("enter base : ") var height = prompt("enter height : ") var area = base * height document.write("area = " + area); //input: 5,2//output: 10 </script>
No comments