update program.c
This commit is contained in:
parent
359fcbc229
commit
52075c4d57
@ -100,7 +100,7 @@ int main()
|
||||
int* items = search(find,itemc,menu,&sitemc);
|
||||
for (int i = 0; i < sitemc; i++)
|
||||
{
|
||||
printf("%s\n%.2f\n", menu[i].name, menu[i].price);
|
||||
printf("%s\n%.2f\n", menu[items[i]].name, menu[items[i]].price);
|
||||
}
|
||||
printf("Nacitanych %d poloziek.\n", itemc);
|
||||
for (int i = 0; i < itemc; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user