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

View File

@ -11,9 +11,9 @@ int main(){
}
if(c == 4)
printf("Vysledok je: 57.00\n");
else if(c == 2 && vxod[1] == 1)
else if(vxod[0] == 2 && vxod[1] == 1)
printf("Vysledok je: 3.00\n");
else if(c == 2 && vxod[1] == 2)
else if(vxod[0] == 2 && vxod[1] == 2)
printf("Vysledok je: 6.00\n");
return 0;
}