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

How does Dee's materialistic view of heritage manifest in the story
I'M BEGGING PLEASEEEE
Tomasz purchased a new heating and air-conditioning system for his home and financed $5,300 at an annual interest rate of 3.9% compounded monthly for 3 years. H
In which ways can data loss be prevented? Be vigilant Be prepared Think ahead Be transparent
AB is congruent to AC. AE is congruent to DE is congruent to DB is congruent to BC. Find angle a
List the ten ProductNames with the highest inventory values (UnitPrice x UnitsInStock). Name the columns "Products" and "Inventory Value". Round the inventory v
Is triangle QSR similar to triangle VUT? Justify your reasoning
cutting off any escape means
1: 12ky²+6ky-20k I want answer ​
Identify the correct explanation for why ABC and DEC are similar and find EC