test
This commit is contained in:
parent
427be0c780
commit
f9a56612cc
@ -48,10 +48,11 @@ int main() {
|
|||||||
price[strcspn(price, "\n")] = 0;
|
price[strcspn(price, "\n")] = 0;
|
||||||
|
|
||||||
decode_hacker_script(menu_item, decoded_item);
|
decode_hacker_script(menu_item, decoded_item);
|
||||||
count++; // Zvyšujeme count pre každú načítanú položku
|
count++;
|
||||||
|
|
||||||
|
double price_value = atof(price);
|
||||||
if (strstr(decoded_item, decoded_search) != NULL) {
|
if (strstr(decoded_item, decoded_search) != NULL) {
|
||||||
printf("%s\n%.2f\n", menu_item, price);
|
printf("%s\n%.2f\n", menu_item, price_value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -59,4 +60,3 @@ int main() {
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user