Computer Science, asked by wwwapmeena2615, 9 months ago

3.
Write a program to calculate and print the circumference and area of a circle. write the code for the following programs using Script Mode

Answers

Answered by da4729204
3

r = prompt("enter radius")

circumference = Math.round(2*r*22/7)

area = Math.round(22/7 *r*r)

document.write("Circumference of circle is"+circumference)

document.write("Area of circle is"+area)

Answered by kcharan30
1

Answer:

r = prompt("enter radius")

circumference = Math.round(2*r*22/7)

area = Math.round(22/7 *r*r)

document.write("Circumference of circle is"+circumference)

document.write("Area of circle is"+area)

Explanation:

Similar questions