submition3
This commit is contained in:
parent
01d6ac4513
commit
98a814b27a
@ -15,7 +15,7 @@ int main()
|
|||||||
char qty_buffer[10];
|
char qty_buffer[10];
|
||||||
fgets(qty_buffer, sizeof(qty_buffer), stdin);
|
fgets(qty_buffer, sizeof(qty_buffer), stdin);
|
||||||
quantity = atoi(qty_buffer);
|
quantity = atoi(qty_buffer);
|
||||||
if(quantity==0){
|
if(quantity<=0){
|
||||||
puts("Nespravny vstup");
|
puts("Nespravny vstup");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user