Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
letoni
/
my_awesome_project
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
2
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
21199f34
authored
Oct 12, 2023
by
letoni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
b1594cd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
uus1.c
uus1.c
0 → 100644
View file @
21199f34
# include <stdio.h>
/* progra....*/
//______________________________
int
isnum
(
char
[]);
void
readarr
(
int
n
,
int
[
n
][
n
]);
void
hange
(
int
n1
,
int
,
int
,
int
[
n1
][
n1
],
int
[
n1
][
n1
]);
void
outAr
(
int
n1
,
int
,
int
,
int
[
n1
][
n1
],
int
[
n1
][
n1
]);
//______________________________
int
main
(
void
)
{
int
N
;
do
{
printf
(
"%s"
,
"who big N"
);
scanf
(
"%d"
,
N
);}
while
(
N
>
0
||
N
>
7
);
N
=
8
;
int
ARR
[
N
][
N
],
AR2
[
N
][
N
];
int
row
,
col
;
row
=
isnum
(
"users row number"
);
col
=
isnum
(
"users column number"
);
readarr
(
N
,
ARR
);
change
(
N
,
row
,
col
,
ARR
,
AR2
);
outAr
(
N
,
row
,
col
,
ARR
,
AR2
);
return
0
;
}
int
isnum
(
char
word
[])
{
int
num
;
printf
(
"%s"
,
word
);
scanf
(
"%d"
,
&
num
);
return
num
;
}
void
readarr
(
int
n
,
int
gh
[
n
][
n
])
{;}
void
hange
(
int
n1
,
int
r1
,
int
c1
,
int
a1
[
n1
][
n1
],
int
a2
[
n1
][
n1
]){;}
void
outAr
(
int
n1
,
int
r2
,
int
c2
,
int
b1
[
n1
][
n1
],
int
b2
[
n1
][
n1
]){;}
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