Initializacia
This commit is contained in:
parent
b5fbf7414e
commit
4f08259a05
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user