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);