bsc

Comprehensive codebase and cou...
Log | Files | Refs | README | LICENSE

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 }
© notamitgamer • Site Built: 2026-07-21 13:58:23 UTC • git-mirror commit: 1037f62 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror