I\'m new to Java and I\'m not sure how to fix the error I\'m getting when trying to run this code:
import java.util.Scanner; public class P3_3 { publi
Change your last printf to:
System.out.printf("number has %d digits ", number);
Try to append all the string together and use specifier i.e.
System.out.printf("blah %d blah ", value).