bsc

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

root / semester_1 / tuition-c / APC-PRAC-004.c

APC-PRAC-004.c (315B)


      1 /* WAP to calculate and display radius of a circle by taking the area as input. */
      2 
      3 #include <stdio.h>
      4 #include <math.h>
      5 int main()
      6 {
      7     double r, area;
      8     printf("Enter the area of the circle : ");
      9     scanf("%lf", &area);
     10     r = sqrt(area / M_PI);
     11     printf("\nRadius of the circle : %g", r);
     12     return 0;
     13 }
© notamitgamer • Site Built: 2026-09-05 01:53:16 UTC • git-mirror commit: c170d72 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror