int addWagon(train* t,int position,int type, int capacity){ wagon w; w.capacity = capacity; w.type = type; if(t->length == 10){ printf(&qu