forked from Prof-Calebe/Source-Code-Inspection
-
Notifications
You must be signed in to change notification settings - Fork 0
Troco#3 #7
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
@OverRide
public boolean hasNext() {
// Dados deveria ser usado o i-- para decrementar
for (int i = 6; i >= 0; i++) {
if (troco.papeisMoeda[i] != null) {
return true;
}
}
return false;
}