int I;
#include
void input(float a[100][100],float b[100][1],int n)
{int i,j;
char infile[20];
FILE *input;
printf("input infile name:\n");
getch();
scanf("%s",infile);
input=fopen(infile,"r");
if(input==0)
{
printf("Can't open the file\n");
exit(0);
}
for(i=0;iint n,int k)
{float max;
int i;
max=a[k][k];
for(i=k+1;iint k=0,q=0,n,i,j;
printf("n=");
scanf("%d",&n);
input(a,b,n);
for(k=0;kintf("x[%d]=%6.2f\n",i,x[i]);
/*printf("%f",max);*/
/*for(i=0;iintf("%f",a[i][j]);
getch();
for(i=0;iintf("%f",b[i][0]);
getch();*/
}
2021-12-09 10:37:52
1KB
int
I;
1