private void calcnum(int n)
{
int k=2;
if(n { System.out.println("The input number is too low"); } while(true) { if(n==k) { System.out.print(k); break; } if(n>k) { if((n%k)==0) { System.out.print(k + "*"); n=n/k; } else { while((n%k)!=0) { k++; } } } } }