update program.c
This commit is contained in:
parent
2ed6d21be9
commit
7e9c26ead7
@ -100,7 +100,7 @@ int main()
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
printf("%s\n%.2f\n", menu[item].name, menu[item].price);
|
printf("%s\n%.2f\n", menu[item].name, menu[item].price);
|
||||||
printf("Nacitanych %d poloziek.", itemc);
|
printf("Nacitanych %d poloziek.\n", itemc);
|
||||||
for (int i = 0; i < itemc; i++)
|
for (int i = 0; i < itemc; i++)
|
||||||
{
|
{
|
||||||
free(menu[i].name);
|
free(menu[i].name);
|
||||||
|
Loading…
Reference in New Issue
Block a user