Guest User

Untitled

a guest
Jun 13th, 2012
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. public static boolean ehParteDe( int[] parte, int[] todo ){
  2. for(int i = 0; i<todo.length; i++){
  3. if(todo[i]==parte[0]){
  4. for(int j = 1; j<parte.length;j++){
  5. if(parte[j]!=todo[i+1]){
  6. return false;
  7. }else {
  8. i++;;
  9. }
  10. }
  11. }
  12. }
  13. return true;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment