bsc

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

APC-SPS-008.c (452B)


      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 area of circle by accepting radius as input */
      8 /* Author : Amit Dutta, Date : 15th September, 2025 */
      9 
     10 #include<stdio.h>
     11 #include<math.h>
     12 int main() {
     13 	double r, area;
     14 	printf("Enter the radius of circle : ");
     15 	scanf("%lf", &r);
     16 	area = M_PI * r * r;
     17 	printf("\nArea : %lf", area);
     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