Assignment #112 Odometer Loops

Code

      ///Name: Ian Grant
      ///Period:5
      ///Project Name: Odometer Loops
      ///File Name:OdometerLoops.java
      ///05/09/16
      
      import java.util.Scanner;
      public class OdometerLoops
      {
          //Yes because its only one line under the loop
      	public static void main( String[] args ) throws Exception
      	{
              Scanner stuff = new Scanner(System.in);
              System.out.println("Which base (2-10): ");
              int base = stuff.nextInt();
      		for ( int thous=0; thous< base; thous++ )
      			for ( int hund=0; hund< base; hund++ )
      				for ( int tens=0; tens< base; tens++ )
      					for ( int ones=0; ones
      

Output