`for (int i = 0; i < papelMoeda.length && !achou; i++)` - atributo 'achou' desnecessário.
for (int i = 0; i < papelMoeda.length && !achou; i++)