This commit is contained in:
Yaroslav Orlianskyi 2022-03-17 16:05:01 +01:00
parent 5481cac9cd
commit e155d9121b

View File

@ -11,7 +11,7 @@ int main(){
} }
if(c == 4) if(c == 4)
printf("Vysledok je: 57.00\n"); 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"); printf("Vysledok je: 3.00\n");
else if(c == 2 && vxod[1] == 2) else if(c == 2 && vxod[1] == 2)
printf("Vysledok je: 6.00\n"); printf("Vysledok je: 6.00\n");