Initializacia

This commit is contained in:
Kozar 2024-10-02 18:13:40 +00:00
parent ba3d6439c0
commit 05d60af8c2

View File

@ -75,9 +75,6 @@ int main() {
int found_count = 0; int found_count = 0;
for (int i = 0; i < count; i++) { for (int i = 0; i < count; i++) {
if (contains_normalized(menu[i].name, search)) { if (contains_normalized(menu[i].name, search)) {
if (found_count == 0) {
printf("\nVysledky vyhladavania:\n");
}
printf("%s\n%.2f\n", menu[i].name, menu[i].price); printf("%s\n%.2f\n", menu[i].name, menu[i].price);
found_count++; found_count++;
} }