Calculate area of circle using function in javascript
Answers
Answered by
2
Answer:
var r = prompt("enter the radius of the circle");
var area = (22/7)*r*r;
document.write(area);
Answered by
2
Answer:
var r = prompt("enter the radius of the circle");
var area = (22/7)*r*r;
document.write(area);
Explanation:
Similar questions