Assignment #40 and ModulusAnimation

Code

      /// Name: Jason Kim
      /// Period: 7
      /// Program Name: ModulusAnimation
      /// File Name: ModulusAnimation.java
      /// Date Finished:10/8/15
            
      public class ModulusAnimation
      {
      	public static void main( String[] args ) throws Exception
      	{
      		for ( int i=0; i<80; i++ )
      		{
      			if ( i%19 == 0 )
      				System.out.print(" Mr. Mitchell is cool. \r");
                  else if ( i%19 == 1 )
                      System.out.print(" MR. Mitechell is cool. \r");
                  else if ( i%19 == 2 )
                      System.out.print(" Mr.Mitechell is cool. \r");
                  else if ( i%19 == 3)
                      System.out.print(" Mr.MItechell is cool. \r");
                  else if ( i%19 == 4)
                      System.out.print(" Mr.MiTechell is cool. \r");
                  else if ( i%19 == 5)
                      System.out.print(" Mr.MitEchell is cool. \r");
                  else if ( i%19 == 6)
                      System.out.print(" Mr.MiteChell is cool. \r");
                  else if ( i%19 == 7)
                      System.out.print(" Mr.MitecHell is cool. \r");
                  else if ( i%19 == 8)
                      System.out.print(" Mr.MitechEll is cool. \r");
                  else if ( i%19 == 9)
                      System.out.print(" Mr.MitecheLl is cool. \r");
                  else if ( i%19 == 10)
                      System.out.print(" Mr.MitechelL is cool. \r");
                  else if ( i%19 == 11)
                      System.out.print(" Mr.Mitechell Is cool. \r");
                  else if ( i%19 == 12)
                      System.out.print(" Mr.Mitechell iS cool. \r");
                  else if ( i%19 == 13)
                      System.out.print(" Mr.Mitechell is Cool. \r");
                  else if ( i%19 == 14)
                      System.out.print(" Mr.Mitechell is cOol. \r");
                  else if ( i%19 == 15)
                      System.out.print(" Mr.Mitechell is coOl. \r");
                  else if ( i%19 == 16)
                      System.out.print(" Mr.Mitechell is cooL. \r");
                  else if ( i%19 == 17)
                      System.out.print(" MR.MITECHELL IS COOL. \r");
                  else if ( i%19 == 18)
                      System.out.print(" \r");
      			Thread.sleep(200);
      		}
      		
      	}
      }

    

Picture of the output

Assignment40