i think i need a houseboat
来源:互联网 发布:软件管家官方下载安装 编辑:程序博客网 时间:2024/06/11 21:20
#include<stdio.h>
#include<math.h>
const PI 3.1415926
main()
{
double x, y,radious,area;
int year;
int n,i = 1;
while(n--) //计算n多次
{
scanf("%lf%lf", &x, &y);
radious = x * x + y * y;
area = PI * radious /2.0;
year = (int)ceil(area / 50.0);
printf("This property will begin eroding in year %d.\n", year);
}
printf("End of output.\n");
}
#include<math.h>
const PI 3.1415926
main()
{
double x, y,radious,area;
int year;
int n,i = 1;
while(n--) //计算n多次
{
scanf("%lf%lf", &x, &y);
radious = x * x + y * y;
area = PI * radious /2.0;
year = (int)ceil(area / 50.0);
printf("This property will begin eroding in year %d.\n", year);
}
printf("End of output.\n");
}
0 0
- 1049 I Think I Need a Houseboat
- I Think I Need a Houseboat
- 1005 I Think I Need a Houseboat
- 1005 I Think I Need a Houseboat
- I Think I Need a Houseboat
- 1005 I Think I Need a Houseboat
- 1065 I Think I Need a Houseboat
- 1005 I Think I Need a Houseboat
- I Think I Need a Houseboat
- POJ - I Think I Need a Houseboat
- poj1005---I Think I Need a Houseboat
- POJ1005 I Think I Need a Houseboat
- I Think I Need a Houseboat
- 1005 I Think I Need a Houseboat
- hdu1065-I Think I Need a Houseboat
- 1005:I Think I Need a Houseboat
- I Think I Need a Houseboat
- I Think I Need a Houseboat
- 基数排序
- ML初笔记
- Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds....
- K-means聚类算法
- 如何利用反射获取字段的数据
- i think i need a houseboat
- Socket编程服务端原理简单介绍
- HDU-5642 King's Order
- Android开发 二维码的生成
- 关于迭代器的一些总结
- nyoj613
- websocket资源收集
- Ubuntu安装Sublime Text并输入中文
- 如何熟悉一个开源项目?