Computer Science, asked by babitharoshan0039, 3 months ago

Write a program to find the area and perimeter of a circle

Answers

Answered by tanmayakumarp3
1

Answer:

A program to find the area and perimeter of a circle is follows:

  •    #include<stdio.h>
  •    int main() {
  •    float radius, area;
  •    printf("\nEnter the radius of Circle : ");
  •    scanf("%d", &radius);
  •    area = 3.14 * radius * radius;
  •    printf("\nArea of Circle : %f", area);
  •    return (0);

Answered by Zuwa
1

Answer:

C Program

#include<stdio.h>

int main() {

float radius, area;

printf("\nEnter the radius of Circle : ");

scanf("%d", &radius);

area = 3.14 * radius * radius;

printf("\nArea of Circle : %f", area);

return (0);

Explanation:

hope it helps ☺️☺️

Similar questions