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 events happened beforeloyalists left boston and philadelphia?
what is the difference between dividing 16 by 2 and finding the square root of 16
The equation s x  2 5 can be used to estimate the speed, s, of a car in miles per hour, given the length in feet, x, of the tire marks it leaves on the ground.
what is 4 over 9 minus 1 over 12 equal simplified?
what is 4 over 9 minus 1 over 12 equal simplified?
The equation s x  2 5 can be used to estimate the speed, s, of a car in miles per hour, given the length in feet, x, of the tire marks it leaves on the ground.
The equation s x  2 5 can be used to estimate the speed, s, of a car in miles per hour, given the length in feet, x, of the tire marks it leaves on the ground.
what is 4 over 9 minus 1 over 12 equal simplified?
If4 times the reciprocal of a number is 3 more than 5/2 times the reciprocal of that number find the number Show your work
what is 4 over 9 minus 1 over 12 equal simplified?