题目描述
/* 设计程序:数组元素x[i]、y[i]表示平面上某点坐标,统计所有各点 */
/* 间最短距离,并将其值以格式"%f"输出*/
#include "stdio.h"
#include "math.h"
void main()
{
int i,j; float c,minc;
float x[]={1.1,3.2,-2.5,5.67,3.42,-4.5,2.54,5.6,0.97,4.65};
float y[]={-6,4.3,4.5,3.67,2.42,2.54,5.6,-0.97,4.65,-3.33};
/*
*
*
* 考生在这里添加代码
*
*
*/
}