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

15
2025.03.07/6Ex/solve.c Normal file
View file

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