This commit is contained in:
Matej Hajduk 2025-10-01 10:28:42 +02:00
parent 0263d6dbcd
commit 697f39dbd6

View File

@ -45,8 +45,8 @@ int main() {
break;
}
strncpy(list[buf].name, meno_buf, LINE_SIZE);
list[buf].price= price;
count++;
list[buf].price= cena;
buf++;
}
qsort(list, buf, sizeof(struct pizza), porovnaj);