Skip to content

TicketMachine #3

@DrigoDT

Description

@DrigoDT

public void inserir(int quantia) throws PapelMoedaInvalidaException {
boolean achou = false;
for (int i = 0; i < papelMoeda.length && !achou; i++) {
// Controle deveria ser usado o i e não o 1
if (papelMoeda[1] == quantia) {
achou = true;
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions