alal
This commit is contained in:
parent
406545de42
commit
87956030eb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user