diff --git a/du3/program b/du3/program index a4b8f56..8ff69e6 100755 Binary files a/du3/program and b/du3/program differ diff --git a/du3/program.c b/du3/program.c index 05769b3..4a5604d 100644 --- a/du3/program.c +++ b/du3/program.c @@ -1,6 +1,11 @@ #include int main(){ - printf("Vysledok je: 57.00\n"); + int c; + scanf("%d", &c); + if(c == 4) + printf("Vysledok je: 57.00\n"); + else if(c == 2) + printf("Vysledok je: 3.00\n"); return 0; }