Settings
|
Sign in
|
Sign up
Bar
Post
Home
>
Bar 藍橋杯
>
View post
Reply the post
|
View all
The author has
1
post.
【C语言】入门训练 圆的面积
Floor 1
巨大八爪鱼
11/26/15 21:34
我的代码:
#include <stdio.h>
#define PI 3.14159265358979323
int main()
{
int r;
double area;
scanf("%d", &r);
area = PI * r * r;
printf("%.7f", area);
return 0;
}
Content converter:
No conversion
Mainland
Taiwan
Hong Kong
Singapore
Reply the post
Content:
User:
You are currently anonymous.
Captcha:
Unclear? Try another one.