Initializacia

This commit is contained in:
Kozar 2024-10-02 19:05:32 +00:00
parent efd3e34cb5
commit 1746f22b4e

View File

@ -73,7 +73,7 @@ int main() {
}
search[strcspn(search, "\n")] = '\0';
printf("Zadaj jedalny listok:\n");
printf("Zadaj jedalny listok:");
while (count < MENU_SIZE && read_pizza(&menu[count])) {
count++;
}
@ -81,7 +81,7 @@ int main() {
int found_count = 0;
for (int i = 0; i < count; i++) {
if (contains_normalized(menu[i].name, search)) {
printf("%s\n%.2f\n", menu[i].name, menu[i].price);
printf("\n%s\n%.2f\n", menu[i].name, menu[i].price);
found_count++;
}
}