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
a050ac18
authored
Feb 23, 2022
by
erfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete Kood.c
parent
656b7ce1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
39 deletions
Kood.c
Kood.c
deleted
100644 → 0
View file @
656b7ce1
#include <stdio.h>
#include <string.h>
int
main
(
void
){
char
a
[
20
],
b
[
20
],
c
[
20
],
d
[
20
];
printf
(
"Sisestage 4x4 Karnaugh kaart või 16 loogikaväärtust:
\n
"
);
scanf
(
"%s"
,
a
);
if
(
strlen
(
a
)
==
4
){
printf
(
"Sisestage teine rida
\n
"
);
scanf
(
"%s"
,
b
);
if
(
strlen
(
b
)
!=
4
){
printf
(
"Mine metsa!"
);
return
0
;
}
printf
(
"Sisestage kolmas rida
\n
"
);
scanf
(
"%s"
,
c
);
if
(
strlen
(
c
)
!=
4
){
printf
(
"Mine metsa!"
);
return
0
;
}
printf
(
"Sisestage neljas rida
\n
"
);
scanf
(
"%s"
,
d
);
if
(
strlen
(
d
)
!=
4
){
printf
(
"Mine metsa!"
);
return
0
;
}
}
else
{
printf
(
"Mine metsa!"
);
}
}
\ No newline at end of file
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