sandhyadhakal846
sandhyadhakal846 sandhyadhakal846
  • 24-09-2021
  • Computers and Technology
contestada

write a program to get radius of circle and then print it's circumference​

Respuesta :

Аноним Аноним
  • 24-09-2021

[tex]\tt r=(int(input("Enter \:the\: value\: for \;radius:\:")))[/tex]

[tex]\tt A=3.14*r**2[/tex]

[tex]\tt C=2*3.14*r[/tex]

[tex]\tt print("Area\:of\:the\:circle:",A)[/tex]

[tex]\tt print ("Circumference\:of\:the\:circle:",C)[/tex]

Output:-

[tex]\tt Enter\: the\:value\:for\: radius: 2[/tex]

[tex]\tt Area\:of\:the\:Circle:12.56[/tex]

[tex]\tt Circumference\:of\:the\:Circle:12.56[/tex]

Answer Link

Otras preguntas

Explain how the value of the 7 in 327,902 will change if you move it to the tens place.
On the Celsius temperature scale, how many degrees are between the freezing and boiling points of water?
Write the integer: A company suffered the loss of $5 million last year
At sunset, the temperature was 4 degrees. Then at sunrise the next morning, it was -7 degrees. What is the difference between these temperatures?
Which answer? I'm stuck, please help
Find an equation in standard form for the hyperbola with vertices at (0, ±6) and foci at (0, ±9).
Choose all that apply. In Spain, the three religions that were in almost constant conflict were: Catholics Protestants Muslims Slavs Jews
If a ball is dropped into a very viscous liquid it will
A survey completed by the Centers for Disease Control (CDC) found that by 1995 the rate of sexual activity had increased 50 percent based on the same ages from
Rewrite 140 1/8 in radical form