Skip to content

p016.c

Problem Statement

WAP to calculate and display radius of a circle by taking the area as input

Metadata

Property Detail
Author Amit Dutta (amitdutta4255@gmail.com)
License MIT

Actions

Raw View on GitHub

💡 You can print or save this file by opening Raw and using your browser.

Source Code

#include<stdio.h>
#include<math.h>
int main() {
    double area, r;
    printf("Enter the area of a circle : ");
    scanf("%lf", &area);
    r = sqrt((7 * area) / 22);
    printf("\nRadius : %lf", r);
    return 0;
}