From f09543e3032bb691c9083d4660510207a67abaae Mon Sep 17 00:00:00 2001 From: Marat Izmailov Date: Thu, 17 Oct 2024 17:49:42 +0000 Subject: [PATCH] Update cv4/main.c --- cv4/main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cv4/main.c b/cv4/main.c index 32e0c9b..2277ea7 100644 --- a/cv4/main.c +++ b/cv4/main.c @@ -4,16 +4,16 @@ int main() { struct car* train = NULL; - train = add_car(train, "Presov"); + train = add_car(train, "Prešov"); train = add_car(train, "Bratislava"); - train = add_car(train, "Levoca"); - train = add_car(train, "Spiska Nova Ves"); + train = add_car(train, "Levoča"); + train = add_car(train, "Spišská Nová Ves"); - printf("Состав поезда:\n"); + printf("Zostava vlaku:\n"); print_train(train); - printf("\nУдаляем вагоны с целевой станцией 'Levoca':\n"); - train = clear_train(train, "Levoca"); + printf("\nOdstraňujeme vozne s cieľovou stanicou 'Levoča':\n"); + train = clear_train(train, "Levoča"); print_train(train); cancel_train(train);