The Sixth, Seventh and Eighth tasks are done

This commit is contained in:
AZEN-SGG 2025-03-03 15:59:04 +03:00
parent a6c451d866
commit 5a81ed3cd8
41 changed files with 1562 additions and 5 deletions

14
2025.03.07/7Ex/solve.c Normal file
View file

@ -0,0 +1,14 @@
#include "solve.h"
#include "math.h"
void t7_solve(double *a, int n, int m, int i, int j)
{
double temp;
int k;
for (k = 0; k < n; k++)
{
temp = a[k * m + i];
a[k * m + i] = a[k * m + j];
a[k * m + j] = temp;
}
}