This commit is contained in:
Matej Hajduk 2025-10-01 10:17:22 +02:00
parent 406545de42
commit 87956030eb

View File

@ -8,7 +8,7 @@
struct pizza{
char name[LINE_SIZE];
float price
float price;
};
int porovnaj(const void *a,const void *b){
@ -25,11 +25,11 @@ int porovnaj(const void *a,const void *b){
}
int main() {
struct pizza list[LIST_SIZE];
int = buf;
int buf = 0;
while(buf < LIST_SIZE){
char meno_buf[LINE_SIZE]
char cena_buf[LINE_SIZE]
char meno_buf[LINE_SIZE];
char cena_buf[LINE_SIZE];
if(!fgets(name_buf, LINESIZE, stdin)){
break;