Initializacia
This commit is contained in:
parent
ec266a099f
commit
e913bf53ed
@ -32,6 +32,7 @@ int main() {
|
|||||||
|
|
||||||
// Read the menu items
|
// Read the menu items
|
||||||
while (1) {
|
while (1) {
|
||||||
|
printf("Zadaj jedalny listok: "); // Print the prompt for each menu item
|
||||||
fgets(menu_item, MAX_INPUT_LENGTH, stdin);
|
fgets(menu_item, MAX_INPUT_LENGTH, stdin);
|
||||||
if (feof(stdin) || strlen(menu_item) == 1) {
|
if (feof(stdin) || strlen(menu_item) == 1) {
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user