diff --git a/du1/output/program.exe b/du1/output/program.exe index bf11f0d..3646aea 100644 Binary files a/du1/output/program.exe and b/du1/output/program.exe differ diff --git a/du1/program.c b/du1/program.c index 0847adc..c07781b 100644 --- a/du1/program.c +++ b/du1/program.c @@ -104,13 +104,13 @@ int read_pizza (struct pizza* item) { s_item[strcspn(s_item, "\n")] = '\0'; - printf("Zadaj hlavny listok:\n"); + printf("Zadaj jedalny listok:\n"); while (pocet < MAX_PIZZAS && read_pizza(&menu[pocet])) { pocet++; } - for (int i = 0; i < pocet; i++) { + for (int i = 0; i