bsc

Comprehensive codebase and coursework for the 4-year B.Sc. Computer Science Honours degree (WBSU)

git clone https://github.com/notamitgamer/bsc.git
· rebuilt hourlyOpen on GitHub
root / semester_1 / tuition-c / P016.c

P016.c (283B)


      1 /* WAP to calculate and display radius of a
      2 circle by taking the area as input */
      3 
      4 #include<stdio.h>
      5 #include<math.h>
      6 int main() {
      7 	double area, r;
      8 	printf("Enter the area of a circle : ");
      9 	scanf("%lf", &area);
     10 	r = sqrt((7 * area) / 22);
     11 	printf("\nRadius : %lf", r);
     12 	return 0;
     13 }