Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Jürgen Hein
/
iax0583
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
bd400a05
authored
Oct 16, 2024
by
Jürgen Hein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kood töötab korrektselt Kodutoo2MassiividLiitmine.c
parent
013b884b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
Kodutöö 2/Kodutoo2MassiividLiitmine.c
Kodutöö 2/Kodutoo2MassiividLiitmine.c
View file @
bd400a05
/* Ko
dutöö 2. Variant 4.
/* Ko
dutöö 2. Variant 4.
...
@@ -189,9 +189,9 @@ void VäljastusAlgne(int n, int m, int k, int l, double A[][m], double B[][l])
...
@@ -189,9 +189,9 @@ void VäljastusAlgne(int n, int m, int k, int l, double A[][m], double B[][l])
void
MaatriksLiitmine
(
int
CRida
,
int
CVeerg
,
double
A
[][
CVeerg
],
double
B
[][
CVeerg
],
double
C
[][
CVeerg
])
void
MaatriksLiitmine
(
int
CRida
,
int
CVeerg
,
double
A
[][
CVeerg
],
double
B
[][
CVeerg
],
double
C
[][
CVeerg
])
{
{
int
j
,
i
;
int
j
,
i
;
for
(
i
=
0
;
i
<
C
Veerg
;
i
++
)
for
(
i
=
0
;
i
<
C
Rida
;
i
++
)
{
{
for
(
j
=
0
;
j
<
C
Rida
;
j
++
)
for
(
j
=
0
;
j
<
C
Veerg
;
j
++
)
{
{
C
[
i
][
j
]
=
A
[
i
][
j
]
+
B
[
i
][
j
];
C
[
i
][
j
]
=
A
[
i
][
j
]
+
B
[
i
][
j
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment