4

Assignment #9 and Printing Choices

Code

    ///Name: Tim Gibson
    ///Period: 6
    ///Project Name: Printing Choices
    ///File Name: PrintingChoices.java
    ///Date Finished: 9/9/15
    
    public class PrintingChoices
    {
        public static void main( String[] args)
        {
            System.out.println( "Alpha" );
            System.out.println( "Bravo" );
            
            System.out.println( "Charlie" );
            System.out.println( "Delta" );
            System.out.println();
            
            System.out.print( "Echo" );
            System.out.print( "Foxtrot");
            
            System.out.println( "Golf" );
            System.out.print( "Hotel");
            System.out.println();
            System.out.println( "India" );
            
            System.out.println();
            System.out.println( "This" + " " + "is" + " " + "a" + " " + "test."  );
        }
    }
        
                              
                        
    

Picture of the output

Assignment9