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];
|
||||
while (newCar->value!=NULL)
|
||||
{
|
||||
counter;+=1;
|
||||
counter+=1;
|
||||
newCar=newCar->next;
|
||||
}
|
||||
}
|
||||
|
||||
return counter;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user