Professional Documents
Culture Documents
BT PPT2
BT PPT2
}
int main() {
int n;
printf("Nhap so an cua phuong trinh: ");
scanf("%d", &n);
double **matrix = (double **)malloc(sizeof(double *)*n);
for(int i = 0; i < n; ++i) {
matrix[i] = (double *)malloc(sizeof(double)*(n + 1));
}
input(n, matrix);
gauss_method(n, matrix);
return 0;
}