![](https://img-blog.csdnimg.cn/img_convert/5d7e1c6a1ec1b428deee14995fc1dfad.png)
小程序获取地图圆的半径
#include<stdio.h>
#include<conio.h>
void main()
{
float radius,area;
clrscr(); //to clear the screen
printf(“Enter radius of the circle:”);
scanf(“%f”,&radius);
area=3.14*(radius*radius);
printf(“Area=%f”,area);
getch(); //to stop the screen
}
#include<stdio.h>
#include<conio.h>
void main()
{
float radius,area;
clrscr(); //to clear the screen
printf(“Enter radius of the circle:”);
scanf(“%f”,&radius);
area=3.14*(radius*radius);
printf(“Area=%f”,area);
getch(); //to stop the screen
}
翻译自: https://www.thecrazyprogrammer.com/2012/04/c-program-that-accepts-radius-of-circle.html
小程序获取地图圆的半径