MIPI_AdvancedC_FRTK/Lect4/37.c

15 lines
269 B
C
Raw Permalink Normal View History

2024-11-14 08:45:50 +03:00
for (size_t i = 0; i < MAX; i++) {
for (j = 0; j < MAX; j++) {
a[i][j] = 0.0;
}
}
for (size_t i = 0; i < MAX; i++) {
a[i][i] = 1.0;
}
for (i = 0; i < MAX; i++) {
for (j = 0; j < MAX; j++)
a[i][j] = 0.0;
a[i][i] = 1.0;
}