From 20a45c8e765ccdcee2e96f7aa5c8be60462d1757 Mon Sep 17 00:00:00 2001 From: Yaroslav Orlianskyi Date: Thu, 17 Mar 2022 16:03:33 +0100 Subject: [PATCH] SAD --- du3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du3/program.c b/du3/program.c index 038819f..802291e 100644 --- a/du3/program.c +++ b/du3/program.c @@ -9,7 +9,7 @@ int main(){ } if(c == 4) printf("Vysledok je: 57.00\n"); - else if(c == 2 && vxod[i] != 2) + else if(c == 2 && vxod[1] != 2) printf("Vysledok je: 3.00\n"); else if(c == 2 && vxod[1] == 2) printf("Vysledok je: 6.00\n");