Advertisement
KaeruCT

Untitled

Apr 2nd, 2011
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.31 KB | None | 0 0
  1.     static boolean esProd30BotEn1Entrega(int pindice){
  2.  
  3.         boolean esProdMayor30=false;
  4.         int j=listaIndices[pindice];
  5.         int k=listaEntregas[pindice];
  6.         int indiceFinal=j+k;
  7.  
  8.         while (j<indiceFinal){
  9.             if (listaProduccion[j]>30){
  10.                 esProdMayor30=true;
  11.             }
  12.             j++;        
  13.         }
  14.         return  esProdMayor30;
  15.  
  16.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement