Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

krkris / Loogikafunktsioon

  • This project
    • Loading...
  • Sign in
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's avatar erfeld
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

Update Kood.c

Lisatud Karnaugh' kaardi sisestatud ridade kuvamised.
parent a6354828 master
Hide whitespace changes
Inline Side-by-side
Showing 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment