package net.megaroid.math;

public class Factors {
	
	private int mNumber;
	
	public Factors(int number) {
		mNumber = number;
	}

	public int getNumber() {
		return mNumber;
	}
	
	public static void main(String[] args) {
		
		Factors f = new Factors(10);
		System.out.println("The number is " + f.getNumber());
		
	}
}

@@ -173,16 +173,334 @@
 r;%0A%09%7D%0A%09%0A
+%09public void printAllFactors() %7B%0A%09%09System.out.print(%22Factors: %22);%0A%09%09int sqrtN = (int)Math.sqrt(mNumber);%0A%09%09for (int i = 1; i %3C= sqrtN; i++) %7B%0A%09%09%09if (mNumber %25 i == 0) %7B%0A%09%09%09%09System.out.print(i + %22 %22);%0A%09%09%09%09if (i * i != mNumber) %7B%0A%09%09%09%09%09System.out.print((mNumber / i) + %22 %22);%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%09%09System.out.println(%22%22);%0A%09%7D%0A%09%0A
 %09public 
@@ -626,13 +626,36 @@
 ());%0A%09%09%0A
+%09%09f.printAllFactors();%0A
 %09%7D%0A%7D%0A

Add printAllFactors() method