Define value of pi and find radius
Define value of pi and find radius

Wap in C to define value of pi and find radius

Define value of pi and find radius

Dear Student here you learn How to find Define value of pi and find radius using C, Here we only provide a demo for your Understanding, now try it in your Way.

Thank you for reading this post, don't forget to subscribe!

Wap in C to find Radius of Circle

#include <stdio.h>
#define pi 3.14
int main()
{

int r;
float area,result;
printf("Enter radius = ");
scanf("%d",&r);
area=pi*r*r;
result=area/1000000;
printf(" Area = %f",area);
printf("\n The area is equal to %fKm²", result);
return result;
}

Output

Enter Radius =

2nd Run (Now Input the Value of Radius)

Define value of pi and find radius
Define value of pi and find radius

Draw Rainbow in C using Graphics (click)

Defined Pi in C

Define value of pi and find radius
Define value of pi and find radius

Thank You

Saurabh Nissa

This is SaurabhNissa, Owner of Thesmolt.com I'm Graduated from Magadh University in 2019 with 75%. Currently, I'm working on my Personal educational website for teaching Programming language free of Coast, and want to provide a Full setup for Specially BCA student