Initializacia
This commit is contained in:
parent
d447a22ab1
commit
ba3d6439c0
@ -75,6 +75,9 @@ int main() {
|
||||
int found_count = 0;
|
||||
for (int i = 0; i < count; i++) {
|
||||
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);
|
||||
found_count++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user