0
Good afternoon guys, I’m catching on to a part of my code and really don’t know the logic to solve it.
If the vector manufacturer’s name carros
in position j
be equal Chevrolet
, change him to GM
.
for(j = 0; j < qtd; j++) {
if(carros[j].fabricante == "Chevrolet") {
carros[j].fabricante = "GM";
}
}
*remembering that this is the only part of the code that is giving error, if you need all the code, let me know.
– Alex