diff --git a/cv1/program.c b/cv1/program.c index c6af434..380dfcc 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -28,9 +28,10 @@ int main() { fgets(ingredient, MAX_INPUT_LENGTH, stdin); ingredient[strcspn(ingredient, "\n")] = 0; // Remove newline character + printf("Zadaj jedalny listok:\n"); // Print the prompt + // Read the menu items while (1) { - printf("Zadaj jedalny listok: "); fgets(menu_item, MAX_INPUT_LENGTH, stdin); if (feof(stdin) || strlen(menu_item) == 1) { break;