diff --git a/cv3/program.c b/cv3/program.c index 31c15b9..bf9f403 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -34,7 +34,7 @@ int main() { printf("%.2f \n",databaza[counter-2].price); } if(input[0] == '/'){ - if(databaza[counter-1].price == '0'){ + if(databaza[counter-1].price == 0){ printf("division by zero"); return 0; }