Обновить cv1/program.c
This commit is contained in:
parent
db2483f45b
commit
9ebc2542f3
@ -25,13 +25,13 @@ 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: ");
|
printf("Zadaj hladanu surovinu:\n");
|
||||||
if (fgets(ingredient, MAX_NAME_LEN, stdin) == NULL) {
|
if (fgets(ingredient, MAX_NAME_LEN, stdin) == NULL) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
printf("Zadaj jedalny listok:");
|
printf("Zadaj jedalny listok:\n");
|
||||||
while (1) {
|
while (1) {
|
||||||
char name[MAX_NAME_LEN], price[MAX_NAME_LEN];
|
char name[MAX_NAME_LEN], price[MAX_NAME_LEN];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user