Initializacia

This commit is contained in:
Kozar 2024-10-02 17:32:07 +00:00
parent b5fbf7414e
commit 4f08259a05

View File

@ -94,8 +94,13 @@ int main() {
}
}
if (found_count == 0) {
printf("\n");
if (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);
found_count++;
}
}
}
printf("Nacitanych %d poloziek.\n", count);