中点坐标
来源:互联网 发布:二次元拍照软件 编辑:程序博客网 时间:2024/06/10 03:25
#include"stdio.h"
struct Student
{
int heng;
int zong;
}aaa[2];
int main()
{
for(int i=0;i<2;i++)
{
scanf("%d",&aaa[i].heng);
scanf("%d",&aaa[i].zong);
}
double heng1,zong1;
heng1=(aaa[0].heng+aaa[1].heng)/2.0;
zong1=(aaa[0].zong+aaa[1].zong)/2.0;
printf("%0.1f %0.1f\n",heng1,zong1);
return 0;
}
struct Student
{
int heng;
int zong;
}aaa[2];
int main()
{
for(int i=0;i<2;i++)
{
scanf("%d",&aaa[i].heng);
scanf("%d",&aaa[i].zong);
}
double heng1,zong1;
heng1=(aaa[0].heng+aaa[1].heng)/2.0;
zong1=(aaa[0].zong+aaa[1].zong)/2.0;
printf("%0.1f %0.1f\n",heng1,zong1);
return 0;
}
0 0
- 中点坐标
- 中点坐标
- C#取得多段线中圆弧中点坐标
- 中点坐标公式的证明过程
- Google Earth中点的经纬度坐标如何批量导出...
- 怎么让几何画板中点和点的坐标移动
- 使用python 在已知圆弧两个端点和中点坐标 计算圆弧的圆心坐标
- HDU5295给出俩条线段和中点给出长度求点坐标
- matlab text 显示图像中或者画图中点的坐标 imshow显示图像,要用axis on显示坐标
- 坐标
- 坐标
- 坐标
- 坐标
- 坐标
- 坐标
- 坐标
- 坐标
- 坐标
- 通用jdk环境配置(win7、win8.1、win8)
- 四旋翼飞行器控制器混合解释
- 输出学生信息
- CSS绝对定位中bottom参照点问题
- java--基础语法集合
- 中点坐标
- 【剑指offer系列】 栈和队列___7
- 集成学习1-Boosting
- Objective-C 打印九九乘法表
- B2
- Exchange Server 2013 配置客户端访问
- 毕业论文
- Mac电脑编程问题汇总.
- 3.27 三二 F UVA 10608 最大朋友圈 并查集