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

What is meant by "the difference of the means" when talking about an independent samokes t-test?
Why do the reasons and evidence support the overall claim
What do ribosomes do simple
The article CFO Steve Fasching explained Deckers Outdoor manages its inventory to keep some level of scarcity. We know the demand is stronger than what we're up
There are two types of sofas in a lounge. X sofa has five seats and why sofa has two seats. There is a total of 56 seats write a function to show this.
el significado de NTIT
As she pushed me aside, she yelled, "You're in my way! Move it NOW!" She didn't even make eye contact. This is an example of what style of communication? A.Pass
Is hydrogen a gas or water?
Venus has a very thick atmosphere. Where do its atmospheric gasses come from? 1) The atmosphere formed with Venus 2) The atmosphere was created by comet and ast
What is the radius of a circle in inches if the ratio of its area to its circumference is 2.5 square inches : 1 inch