Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. int ARRAY_LENGTH = 1000;
  2. int j = 0;
  3. while (j < ARRAY_LENGTH) {
  4. int k = 0;
  5. while (k < ARRAY_LENGTH) {
  6. if (array[j] < array[k] && array[j] % array[k] != 0 && j != k) {
  7. printf("this is when it is indivisble");
  8. }
  9. k++;
  10. }
  11. j++;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement