my program doesn't accept time print out sentence
<p>Here's the code that what I have. I also have in my class file: <code>import java.util.*;</code> and <code>long time;</code> and two formulas to calculate time before and after my calculations, and there is no error.</p>

<pre><code>import java.io.*;

public class RhoMain
{

 public static void main(String arg[])throws IOException
 {

  int n, c;//To get number and Coefficient

  // BufferedReader Object to get Runtime Inputs
  BufferedReader BR = new BufferedReader(new InputStreamReader(System.in));

  // Getting number and Coefficient at Runtime
  System.out.println("Enter a Number to be factorize : ");
  n = Integer.parseInt(BR.readLine());
  System.out.println("Enter a Number for coefficient : ");
  c = Integer.parseInt(BR.readLine());

  // Creating an Object for RhoFact Class
  RhoFac1 PolFac = new RhoFac1(n,c);
  int compnum = n;// Temporarily used for n  
   if(PolFac.succeeded() == true)
   {
    // Displaying the calculation Steps 
    System.out.println("\ty(i)\ty(2i)\td\n\n");
    for (int i = 0; i != PolFac.sizeof(PolFac.aList); i++)
     System.out.println("\t" + PolFac.aList.elementAt(i) + "\t" 
                      + PolFac.bList.elementAt(i) + "\t" 
                      + PolFac.dList.elementAt(i) + "\n");
    System.out.println("\nfound non-trivial factor:\t" + PolFac.result 
      + "\nanother non-trivial factor is:\t" 
      + (compnum / PolFac.result));
    System.out.println("Factorization succeeded");
       System.out.println(time/1000) + " seconds");         

       }
       else{
        System.out.println("no RHO-FACTORIZATION possible with " 
       + "polynom x²+" + c);
        System.out.println(n + " is no valid number");
       }      
 }    

}
</code></pre>
