Assignment #40 and Modulus Animation

Code

    ///Name: Tim Gibson
    ///Period: 6
    ///Project Name: Modulus Animation
    ///File Name: ModulusAnimation.java
    ///Date Finished: 10/5/15
        
    public class ModulusAnimation
    {
    	public static void main( String[] args ) throws Exception
    	{
    		for ( int i=0; i<80; i++ )
    		{
    			if ( i%10 == 0 )
    				System.out.print("ooooooo \r");
                else if ( i%10 == 1 )
                    System.out.print("Ooooooo \r");
                else if ( i%10 == 2 )
                    System.out.print("oOooooo \r");
                else if ( i%10 == 3 )
                    System.out.print("ooOoooo \r");
                else if ( i%10 == 4 )
                    System.out.print("oooOooo \r");
                else if ( i%10 == 5 )
                    System.out.print("ooooOoo \r");
                else if ( i%10 == 6 )
                    System.out.print("oooooOo \r");
                else if ( i%10 == 7 )
                    System.out.print("ooooooO \r");
                    
                                     
                    
    
    			Thread.sleep(200);
    		}
    		
    	}
    }

        

Picture of the output

Assignment40