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

This commit is contained in:
Yevhen Kozirovskyi 2024-10-02 16:59:12 +00:00
parent 67d9dcabfd
commit f61d976748

View File

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