Update cv4/a_train.c

This commit is contained in:
Yurii Yakovenko 2024-10-23 19:47:05 +00:00
parent 6179afeebe
commit e0abece4a2

View File

@ -34,9 +34,12 @@ void print_train(struct car* first)
do
{
printf("%s -> ", first->value);
printf("%s", first->value);
first=first->next;
}while(first->next!=NULL);
if(first){
printf("->");
}
}while(first!=NULL);
}