Any Java Gurus out there, I am now down to the wire on two projects and need assistance. I posted one of them yesterday and here is my final one. :eek:
I need to figure out why I can not get the number of digits to count in my program. See the code below, I appreciate any and all assistance. Learning java is not as easy as I thought it would be and my hatis off to all the experts out there that understand this programming language. :?:
import java.util.*;
public class NumberDigit
{
public static void main(String[] args)
{
int number =digit.length;
System.out.println("Enter a number");
Scanner keyboard = new Scanner(System.in);
number = keyboard.nextInt( );
System.out.println("The number you entered is " +digit.length()" digits in length!");
}
}