/0v4
This commit is contained in:
parent
a8a9f80153
commit
0c69821dae
@ -37,7 +37,7 @@ int main() {
|
|||||||
if(databaza[counter-1].price == 0){
|
if(databaza[counter-1].price == 0){
|
||||||
printf("%.2f \n",databaza[counter-2].price);
|
printf("%.2f \n",databaza[counter-2].price);
|
||||||
printf("%.2f %.2f \n",databaza[counter-2].price, databaza[counter-1].price);
|
printf("%.2f %.2f \n",databaza[counter-2].price, databaza[counter-1].price);
|
||||||
printf("division by zero");
|
printf("division by zero\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
printf("%.2f \n",databaza[counter-2].price);
|
printf("%.2f \n",databaza[counter-2].price);
|
||||||
|
Loading…
Reference in New Issue
Block a user