APC-PRAC-004.c (451B)
1 /* 2 * Author: Amit Dutta (amitdutta4255@gmail.com) | Date: 12 Dec 2025 3 * Repo: https://github.com/notamitgamer/bsc 4 * License: MIT 5 */ 6 7 /* WAP to calculate and display radius of a circle by taking the area as input. */ 8 9 #include <stdio.h> 10 #include <math.h> 11 int main() 12 { 13 double r, area; 14 printf("Enter the area of the circle : "); 15 scanf("%lf", &area); 16 r = sqrt(area / M_PI); 17 printf("\nRadius of the circle : %g", r); 18 return 0; 19 }