Posted by: JavaBeans September 17, 2006
Java help
Login in to Rate this Post:     0       ?        
If all you need is an ouput of four or an indefinite number of digits: import java.util.Scanner; public class NumOutputter { public static void main( String args[] ) { System.out.println("Enter a number: "); StringBuilder num = new StringBuilder(); num.append(new Scanner( System.in ).next()); for( int i=0; i
Read Full Discussion Thread for this article