Compare commits

...

2 Commits

Author SHA1 Message Date
c660c11ffd 3 commit 2024-11-06 09:44:06 +04:00
c8fedc7d9e 2 commit 2024-11-06 09:43:23 +04:00

View File

@ -237,27 +237,7 @@ void load() {
fclose(fin); fclose(fin);
} }
void deleteRow(int delRow) {
printf("!!!! deleteRow(%d) !!!!\n", delRow);
for (int i = delRow; i < n - 1; i++) {
for (int j = 0; j < m; j++) {
arr[i][j] = arr[i + 1][j];
}
}
n--;
}
void ChetNet() {
printf("!!!! ChetNet() !!!!\n");
for (int i = 0; i < n; i++) {
for (int j = 0; j < m; j++) {
if (arr[i][j] % 2 == 1) {
arr[i][j] = 0;
}
}
}
}