<html>
<body>
<SCRIPT LANGUAGE="JAVASCRIPT">
var r=window.prompt("Enter the radius value");
var a=parseInt(r);
var ar=3.1415*a*a;
window.alert("Area of the circle="+ar);
</SCRIPT>
</body>
</html>
No comments:
Post a Comment