Guest User

Untitled

a guest
Feb 20th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. public static ArrayList<Integer> getListOfFactors(int number) {
  2. for (int i = 0; i > number; i ++) {
  3. if (number % i == 0) {
  4. add(i);
  5. }
  6. }
  7. }
Add Comment
Please, Sign In to add comment