Skip to content

TicketMachine - papelMoeda[1] #8

@nicoleprevid

Description

@nicoleprevid

for (int i = 0; i < papelMoeda.length && !achou; i++) {
if (papelMoeda[1] == quantia) {
achou = true;
}
}

Deveria ser papelMoeda[i] e não papelMoeda[1]

Metadata

Metadata

Assignees

No one assigned

    Labels

    ComissãoOcorre quand existe algum segmento de código que foi implementado incorretamente

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions