Advertisement
KaeruCT

Untitled

Mar 30th, 2011
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. static boolean esProd30BotEn1Entrega(int pindice){
  2. boolean esProdMayor30 = false;
  3. int numEntregas = listaEntregas[pindice],
  4. i = listaIndices[pindice],
  5. indiceFinal = i + numEntregas;
  6.  
  7. while(!esProdMayor30 && i < indiceFinal){
  8. esProdMayor30 = listaProduccion[i++] > 30;
  9. }
  10.  
  11. return esProdMayor30;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement