Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
krkris
/
Loogikafunktsioon
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b9c77b18
authored
3 years ago
by
erfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Kood.c
Lisatud Karnaugh' kaardi sisestatud ridade kuvamised.
parent
a6354828
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
Kood.c
Kood.c
View file @
b9c77b18
...
...
@@ -38,7 +38,8 @@ int sisestus(const char tekst[40], char a[20], char b[20], char c[20], char d[20
return
1
;
}
}
printf
(
"
\n
%s
\n
"
,
b
);
printf
(
"
\n
%s
\n
"
,
a
);
printf
(
"%s
\n
"
,
b
);
printf
(
"Sisestage kolmas rida
\n
"
);
scanf
(
"%s"
,
c
);
if
(
strlen
(
c
)
!=
4
){
...
...
@@ -50,7 +51,9 @@ int sisestus(const char tekst[40], char a[20], char b[20], char c[20], char d[20
return
1
;
}
}
printf
(
"
\n
%s
\n
"
,
c
);
printf
(
"
\n
%s
\n
"
,
a
);
printf
(
"%s
\n
"
,
b
);
printf
(
"%s
\n
"
,
c
);
printf
(
"Sisestage neljas rida
\n
"
);
scanf
(
"%s"
,
d
);
if
(
strlen
(
d
)
!=
4
){
...
...
@@ -62,6 +65,10 @@ int sisestus(const char tekst[40], char a[20], char b[20], char c[20], char d[20
return
1
;
}
}
printf
(
"
\n
%s
\n
"
,
a
);
printf
(
"%s
\n
"
,
b
);
printf
(
"%s
\n
"
,
c
);
printf
(
"%s
\n
"
,
d
);
}
else
if
(
strlen
(
a
)
==
16
){
return
0
;
...
...
@@ -73,3 +80,4 @@ int sisestus(const char tekst[40], char a[20], char b[20], char c[20], char d[20
return
0
;
}
This diff is collapsed.
Click to expand it.
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