代码提交后一直显示运行错误,有大佬可以帮忙看一看吗?
#include <stdio.h>
#include <math.h>
#define Pi 3.1415926
void point (double L,double W,double x,double y,double R,double v,double a,double s);
int main(void)
{
double a[25][8];
int i,j,q;
i = j = 0;
// point(100,100,80,10,5,90,2,23);
for (j=0;j<8;j++)
scanf("%lf",&a[i][j]);
while ((a[i][0]!=0)||(a[i][1]!=0)||(a[i][2]!=0)||(a[i][3]!=0)||(a[i][4]!=0)||
(a[i][5]!=0)||(a[i][6]!=0)||(a[i][7]!=0))
{
i++;
for (j=0;j<8;j++)
scanf("%lf",&a[i][j]);
}
q = i;
for (i=0;i<q;i++)
{
point(a[i][0],a[i][1],a[i][2],a[i][3],a[i][4],a[i][5],a[i][6],a[i][7]);
2021-12-15 14:39:25