Обновить cv1/program.c

This commit is contained in:
Yevhen Kozirovskyi 2024-10-02 17:07:57 +00:00
parent db2483f45b
commit 9ebc2542f3

View File

@ -25,13 +25,13 @@ int main() {
char dishes[MAX_DISHES][2][MAX_NAME_LEN];
int count = 0;
printf("Zadaj hladanu surovinu: ");
printf("Zadaj hladanu surovinu:\n");
if (fgets(ingredient, MAX_NAME_LEN, stdin) == NULL) {
return 0;
}
printf("Zadaj jedalny listok:");
printf("Zadaj jedalny listok:\n");
while (1) {
char name[MAX_NAME_LEN], price[MAX_NAME_LEN];