achhhhh
This commit is contained in:
parent
d17289c942
commit
64f9a186de
@ -101,11 +101,10 @@ int count_capacity(struct station* station){
|
|||||||
struct car* newCar= station->tracks[i];
|
struct car* newCar= station->tracks[i];
|
||||||
while (newCar->value!=NULL)
|
while (newCar->value!=NULL)
|
||||||
{
|
{
|
||||||
counter;+=1;
|
counter+=1;
|
||||||
newCar=newCar->next;
|
newCar=newCar->next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return counter;
|
return counter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user