diff --git a/du3/program.c b/du3/program.c index ede02c8..35e039d 100644 --- a/du3/program.c +++ b/du3/program.c @@ -11,7 +11,7 @@ int main(){ } if(c == 4) printf("Vysledok je: 57.00\n"); - else if(c == 2 && vxod[1] != 2) + else if(c == 2 && vxod[1] == 1) printf("Vysledok je: 3.00\n"); else if(c == 2 && vxod[1] == 2) printf("Vysledok je: 6.00\n");