- Code:
<head>
<title>
Area n perimeter
</title>
</head>
<body background="http://i397.photobucket.com/albums/pp52/myspace-funny-friends-comments/friends-comments6.jpg">
<h1 align="centre">Area and Perimeter of a circle</h1>
<script language="javascript">
var r,area,per
r=prompt("Enter Radius:");
a=3.142*r*r;
per=2*3.142*r
document.write("<h1>"+"Area:"+a);
document.write("<br>"+"Perimeter:"+per);
document.write("<br>"+"When Radius:"+r);
</script></body>
RocKxzz