Guest User

Untitled

a guest
May 21st, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. public static boolean sindGleich(double[] array1, double[] array2) {
  2.  
  3. for (int i = 0; i <= array1.length - 1; i++) {
  4. for (int j = 0; j <= array2.length - 1; j++) {
  5.  
  6. if (array1[i] == array2[j]) {
  7. return true;
  8.  
  9. } else
  10. return false;
  11. }
  12. }
  13. return false;
  14.  
  15. }
Add Comment
Please, Sign In to add comment