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

Name one way that science helped farmers.
When you are exposed to disease-causing germs, which type of tissue is your first line of defense? epithelial connective muscle nervous
Please, someone PLEASE help me? Add -2/3n + 7/3
Relate structure to function in two specialised eukaryotic cells
What is the liver an example of? a. a cell b. a tissue c. an organ d. an organ system
if T(n) = 2n-7, what is the fifth term?
Two ways three people can share a five segment chewy fruit worm
When a book reviewer describes the subject as fiction or non-fiction, what is he talking about? A. the book's theme B. the book's genre C. the book's era D. the
The most common form of workplace writing is the A. e-mail. B. contract. C. text message. D. meeting summary.
On the road you are traveling, the pavement markings change from broken white lines to solid white lines between the lanes of traffic. What does the line change